I run several headless systems and sometimes I need to know the disk usage of a particular directory. We have several choices, from the ls command to the ncurses ncdu utility. For what I need 'ls' does not provide support…
Stopwatch in BASH
I was needing a stopwatch in bash and searching on Google I've found a very simple implementation: time read Source: http://www.2ality.com/2010/10/use-bash-as-stop-watch.html