Bash tips
Bash is a script shell for unix terminals.
Optimisations
- using ':' for 'true', because true is a software executable whereas ':' is an internal bash command. Very usefull for infinite loops.
example:
while true; do echo 'Hello'; sleep 1; done
become:
while :; do echo 'Hello'; sleep 1; done
- Thanks:
- Gwenn

#. gwenn on Fri May 20 01:02:49 2005
s/for/while/