Bash shell substring
Bash: get absolute path to current script
Bash shell path relative to current script
Bash: while loop - break - continue
Functions in Linux shell (bash)
Create temporary directory on Linux with Bash using mktemp
Count number of lines in a file and divide it by number of seconds in a day using Bash
Measure elapsed time in Linux shell using time and date
Show number of files in several directory trees using Shell
Show number of files in a directory tree using Shell
Bash set -x to print statements as they are executed
Bash set -e to stop script on failure
ps does not show name of the shell script only -bash or bash - Linux
Read file line-by-line
Bash scripting slides