Skip to content

Commit 667a0d7

Browse files
author
Jean-Marcel Belmont
committed
Add new section for sys admin related commands.
1 parent fd16fba commit 667a0d7

10 files changed

+1312
-75
lines changed

.scripts/print-image-path.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#! /bin/bash
2+
3+
printf "![%s](../%s)" $(pbpaste | sed 's/\.png//g') $(pbpaste) | pbcopy

.scripts/strip-text-in-brackets.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#! /bin/bash
2+
3+
IFS=$'\n'
4+
BRACKET_LIST=$(pbpaste | awk 'BEGIN { FS="[][]" } { print $2 }')
5+
6+
for br in $BRACKET_LIST
7+
do
8+
printf "#### %s\n\nContent\n\n" $br
9+
done

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ A workshop on Unix Programming Principles using tools such as grep, sed, awk, sh
3232
* [Network Utilities](docs/network-utilities.md)
3333
* [Shell Security](docs/shell-security.md)
3434
* [Find and Replace Patterns](docs/find-and-replace-patterns.md)
35+
* [System Administration Commands](docs/system-administration-commands.md)
3536

3637
## Unix History
3738

SUMMARY.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,5 @@
2525
* [Shell Login Order](docs/shell-login-order.md)
2626
* [Network Utilities](docs/network-utilities.md)
2727
* [Shell Security](docs/shell-security.md)
28-
* [Find and Replace Patterns](docs/find-and-replace-patterns.md)
28+
* [Find and Replace Patterns](docs/find-and-replace-patterns.md)
29+
* [System Administration Commands](docs/system-administration-commands.md)

docs/find-and-replace-patterns.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,4 +234,4 @@ _________________________
234234

235235
Previous | Next
236236
:------- | ---:
237-
[Shell Security](./shell-security.md) | [README](../README.md)
237+
[Shell Security](./shell-security.md) | [System Administration Commands](./system-administration-commands.md)

docs/shell-security.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,4 +236,4 @@ _________________________
236236

237237
Previous | Next
238238
:------- | ---:
239-
[Network Utilities](./network-utilities.md) | [Find and Replace Patterns](docs/find-and-replace-patterns)
239+
[Network Utilities](./network-utilities.md) | [Find and Replace Patterns](./find-and-replace-patterns)

0 commit comments

Comments
 (0)