Anonymous Anonymous - 1 month ago
413 0

No description

Bash

bash script 1

read word
echo "You chose option $word"


case $word in
      "1" )
         ls -d */
                echo "Which directory do you wish to view >"
   read dir
        echo "Contents of $dir"
                 ls "$dir"
          ;;
      "2" )
        ls -f */        read file       echo " hi "
          ;;
     "3" )

          ;;
     "4")