MYSCRIPTS IN LINUX/UNIX/UBUNTU
SCRIPT TO ILLUSTRATE THE CASE STATEMENT
SCRIPT TO ILLUSTRATE THE CASE STATEMENT
#!/bash/sh
num=$1
case $num in
1) echo "hellow";;
2) echo "hat";;
*) echo "invalid option";;
esac
Newer Post
Older Post
Home