if [ $x -eq 7 ] ; then
echo " It is 7. "
fi
if [ $x -eq 7 ] ; then
echo " It is 7. "
else
echo "It is not 7."
fi
if [ $x -eq 7 ] ; then
echo " It is 7. "
elif [ $x -gt 7 ] ; then
echo " It is more then 7. "
elif [ $x -lt 7 ] ; then
echo " It is less then 7. "
fi
if ! [ $x -eq 7 ] ; then
echo " It is not 7. "
fi
case $answer in "100M" "150M" "200M"
100M ) echo " Not much space. " ;;
150M ) ehco " Medium? O.K. ";;
200M ) echo " Plenty of space! " ;;
esac
- HOME
~~~~~~~~~~~~~~~
- OpenBSD
- NetBSD
- FreeBSD
- Linux
- Solaris
- Windows
~~~~~~~~~~~~~~~
- Git
- Ansible
- Atlassian
- Network tools
- Qemu
- Virtualbox
- Vim
- Tmux
- Mutt
- STar
~~~~~~~~~~~~~~~
- MySQL
- PostgreSQL
- Postfix
- OpenSSL
- tcpdump
- SSH
~~~~~~~~~~~~~~~
- Packet Filter
- IP Filter
~~~~~~~~~~~~~~~
- Bash
- web-dev
- Hacking
- LINUX DAYS