knowledge base
The main focus of this blog is on short and concise technical information.
While it does not contain any rocket-science information, basic knowledge is assumed.
Watch for file or directory changes and run command
Cleanup a script on exit using trap
Default and alternative command
Provide an alternative command if the preferred command is not available.
Elevate script to sudo
Environment variable defaults
Parallel
Run commands in parallel
Add directory to $PATH if it doesn't exist
Check if a file ends with newline
Check if a variable is set
Check network connectivity
[1] next