Thursday, April 12, 2012

Unlink


clear
echo
ch=0
while [ $ch_lt 2 ]
do
echo "1.create file
      2.unlink"
echo
echo "enter your choice:"
read ch
echo $ch
case $ch in
1)echo "enter file name:"
read fn
vi $fn;;
2)unlink $fn;
esac
done

No comments:

Post a Comment