Bash Cheat Sheet
Commands
tr command
$ echo 'foo - bar' | tr -d '[:space:]'
foo-barOne Liners
Block Bad IPs
If Statements
Check if args are passed
Check if required variables exist
Check if environment variables exists
While Loops
Run process for 5 Seconds
Redirecting Outputs
Stdout, Stderr
Thing that are basic but I need to work on
Last updated