how to test if file1 is older than file2 in a korn shell script
Description
The test command evaluate a condition and, if its value is true, return a zero exit status; otherwise, return a nonzero exit status. An alternate form of the command uses [ ] rather than the word test.
coolcommand: minpout - to specify the point at which programs that have reached maxpout can resume writing to the file in IBM AIX
Example: chdev -l sys0 -a minpout='24'
[show me the details]
coolcommand: how to backup and compress a mysql database on the fly
Example: mysqldump --quote-names --opt -u root --password=badpass --databases dbname | gzip > dbname.gz
[show me the details]
coolcommand: how to find all instances of $ in PHP files that are not part of a variable name in Linux
Example: ls --indicator-style=none *.php | xargs -n 1 egrep -Hn '\$[^A-Za-z_\$]' | sed G
[show me the details]
coolcommand: format - how to partition a disk in Sun Solaris
Example: format; disk; partition; save; quit
[show me the details]
coolcommands.com - the search engine for UNIX sysadmins :: unix commands and scripts