Example you can do following basic process
Check the system date
Check the mail
Display the list of logged user
Check mail

#!/bin/bash-used for bash scripts –most commonly used in Linux system
Developed by Steve Bourne at AT & T
#!/bin/sh –Bourne shell scripts- common on UNIX system
Developed David Korn at AT & T
#!/bin/csh- C shell script- common for BSd derived system
Developed Bill Joy for Berkeley Unix
#!/usr/bin/perl-perl script-scripting and programming language
#!/usr/bin/python-python script- object oriented programming language
Simple shell script is(command substitution)
# fcom=`man history`
#echo $fcom
Now if you type $fcom then it will display man history
0 Comments