Write a shell script which displays the list of all files in the given directory.
echo Menu
echo 1.Short format display
echo 2.Long format display
echo 3.Hidden files to display
echo Enter ur choice:
read ch
case ch in
1) ls $a;;
2) ls –l $a;;
3) ls –la $a;;
*) echo Choice is not correct;;
esac
If you like this please Link Back to this article...
0 comments:
Post a Comment