see also TEST bookmark in the menu
a=$((8+2))
echo $a
b=$((8-4))
echo $b
c=$((6/3))
echo $c
d=$((5*3))
echo $d
(( $x > 15 ))
or [ $x -gt 15 ]
(( $x >15 ))
or [ $x -lt 15 ]
(( $x >= 15 ))
(( $x == 15 ))
or [ $x -eq 15 ]
Three ways to increment $x
$ x=$[$x+1]
$ x=$(($x+1))
$ x=((x++))
- 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