Search

Monday, August 18, 2008

Basic Linux Script

#vi test.sh
========================
#!/bin/bash
echo "Today is `date`"
========================

save the file and exit.
#chmod 755 test.sh
Run the script
#./test.sh
Today is Tue Aug 19 15:31:58 IST 2008