Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Awk.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ ps -ef | awk '!/^root/'

# . for any character, ? zero or one, * zero or more, + one or more
# ^ beginning of line, $ end of line
# [] as expected
# [] is any character in it e.g. [acf-j]
# | for or

# Show all set variables
Expand Down
1 change: 1 addition & 0 deletions Bash_Piping_and_Script_Automating.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ ls /usr/share/figlet | rev | sort | rev
ls /usr/share/figlet | rev | sort | rev > fonts.txt

# But it dawned on me to just use sed. sed is short for stream editor
# It is also based on ed, a very old text editor that is still on many systems
man sed

# so we can use a simple pattern matching format to delete lines that contain
Expand Down