LS COMMAND


SOURCE CODE:
echo “ TO DISPLAY LIST OF FILE ”
echo “ 1) ls ”
echo “ 2) ls-al ”
read choice
case $choice in
1)la;;
2)la-al;;
*)echo “ invalid ”;;
esac

OUTPUT:
[examuser35@localhost Jebastin]$ sh list.sh
TO DISPLAY LIST OF FILE
1)    ls
2)    ls-al
1
list.sh     palin.sh     fib.sh     fact.sh     rr.c
greatest.sh     fcfs.c     sjf.mul.sh    armstr.ch
Previous
Next Post »

Still not found what you are looking for? Try again here.