Answers for "fi bash"

1

fi bash meaning

#fi closes the if statement
Posted by: Guest on July-11-2020
0

fi bash

if [ ! -x /usr/bin/axel ]
then echo "axel is not installed, perform this?(y/n)"
    read ops
    case $ops in
     y) if apt-get install axel -y --force-yes
           then echo "axel installed"
        else echo "unable to install the axel. you are using sudo?" ; exit
        fi ;;
     n) echo "not possible usage apt-fast" ; exit ;;
    esac
fi
Posted by: Guest on May-11-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language