Writing Bash Scripts
2021-08-15To Bash or not to Bash
Writing shell scripts can automate command execution and help us become more productive. Bash is the default shell for most linux distributions.
Which Bash
Check that your have Bash installed.
$ which bash …
How to use "grep" command
2021-08-13Syntax
grep [OPTION...] PATTERNS [FILE...]
grep [OPTION...] -e PATTERNS ... [FILE...]
grep [OPTION...] -f PATTERN_FILE ... [FILE...]
The grep
command takes in text from stdin or a file.
Quick Examples
example.txt
The lady with the …