coolcommands.com - the search engine for unix sysadmins :: unix commands and scripts
Monday September 1, 2014


 Home
 Search
 Advanced Search
 Category Search
 Affiliates
 Acknowledgements
 Cool Links

Username

Password

Remember me
Forgot your password?

Who's Online
We have 26 guests online

Newest Member

nbewwmbxog

Hit Counter
13930138 Visitors

cool Statistics
coolcommands:1345
Categories:83
Total queries:639782
Members:22813





Category Search coolcommands.com
Select Category:


coolcommand

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.

# test file1 -ot file2

or

[ file1 -ot file2 ]
Example

test file1 -ot file2; [ file1 -ot file2 ]

Return to search results

Random coolcommands

coolcommand: prealloc - to create a large file in HP/UX
Example: prealloc bigfile 1000000
[show me the details]
coolcommand: iostat - get hardware configuration in Sun Solaris
Example: iostat -En
[show me the details]
coolcommand: how to find which disks are in a volume group in AIX
Example: lsvg -p rootvg
[show me the details]
coolcommand: mknfs - how to enable the nfs server in IBM AIX
Example: mknfs -B
[show me the details]

coolcommands.com - the search engine for UNIX sysadmins :: unix commands and scripts



FREE
myPMS

Password
Management
System

by

LVOware.com




Top 5 Submitters

lvo1166
audet37
kah00na32
Mariom24
lebjf00015

Top 5 Searches

Category Solaris53168
Category General UNIX53066
Category AIX52147
solaris23799
aix23179

Terms of Use
Privacy
Contact


 
coolcommands.com © 2014. All Right Reserved.
Programming by PRATTICO Consulting . Hosting by Apricusum