Operating System Shell Scripting/Programs on Linux
Linux Shell Scripting programs
Sunday, 17 June 2012
Write a shell script which displays January if we enter Jan, Janu, Janua or January
read mon;
case $mon in
jan|janu|janua|january) echo january ;;
*) echo invalid ;;
esac
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment