[student@serverX -]$ cat hello
#!/bin/bash
echo "Hello, world"
[student@serverX -]$ ./hello Hello, world
Taking Backup Script
#!/bin/bash
#Purpose = Backup of Important Data
DATE=$(date +"%d-%b-%Y")
SRCDIR="/var/www/html"
DESDIR="/media/HDD-01/html"
FILENAME=html-$[Link]
# Making backup with compress
tar -cpzf $DESDIR/$FILENAME $SRCDIR