Bash date print Year, Month, Day, Hour, Minute and Seconds
Bash date print X days ago (Linux shell script or in command-line)
Ho to get bash print date in ISO 8601 date format - yyyy-MM-dd T HH:mm:ss Z including UTC offset.
40+ BASH commands for everyday use
A practical guide on how to use bashrc aliases
Quick way to change lowercase to uppercase in bash, we are exploring a way using bash built in features, variable case conversion.
A practical script to check whether a file exists on a remote server using bash. The script connects using ssh and verify whether the file exists.
bash scripting if then else statements. Explained with five sample codes and runtime demos.
Explaining how to print a specific future date corresponding to the current date in bash, or any bash shell such as linux ubuntu or docker.
How to create a bash alias with arguments, using aliases and functions
How to get the return code of a command in bash. Also listing all reserved exit codes
Explaining how to get the date for day-before-yesterday in Linux Bash script
How to write output and error messages to two different files in shell scripts.
Explaining with examples how to get the current date timestamp or epoch time from a Linux command line, script or bash terminal
How to un-comment a line in a text file using sed by matching a specific word or character (Linux command-line)
Explaining how to print full date in bash using shortcode
grep-ing pattern at the ending of a text file
grep-ing pattern at the beginning of a text file
Quicly replaces multiple spaces from a string variable in bash. This works well in Linux, Bash, Docker containers, centos, rhel etc.
This is an example script for shell script bash, until loop
Example script for shell script bash, while loop
Bash variable set a default value
Examples for deleting multiple characters using tr command in bash.