Watch a command
Say you want to monitor a directory for file changes. You could use this command,
$ watch -d ls -l
With the -d switch, it will highlight the changes that were made. It basically runs ls -l every two seconds or whatever command by default.
http://www.foogazi.com/2008/03/18/linux-commands-you-probably-dont-use/ »
[Click to add or edit comments])
Please prepend comments below including a date