Command SNAME=$(basename “$(test -L “$0” && readlink “$0” || echo “$0″)”) While running a bash script using Linux terminal the…
Browsing: script
While Loop: while read line do echo $line done < /tmp/file.txt Note: "line" is a variable which contains a single…
Questions – How can I print a newline as \n in bash shell? How to use \n in shell script…
Q. How to schedule MySQL database backup? A bash script for MySQL database backup. In this tutorial, you will find…