coolcommands.com - the search engine for unix sysadmins :: unix commands and scripts
Thursday October 30, 2014


 Home
 Search
 Advanced Search
 Category Search
 Affiliates
 Acknowledgements
 Cool Links

Username

Password

Remember me
Forgot your password?

Who's Online
We have 60 guests online

Newest Member

nbewwmbxog

Hit Counter
14818057 Visitors

cool Statistics
coolcommands:1346
Categories:83
Total queries:641637
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: dump - dumps selected parts of an object file
Example: dump -X 64 -n /bin/ls
[show me the details]
coolcommand: cksum - how to verify if 2 files are identical
Example: cksum file1
[show me the details]
coolcommand: how to copy a table in mysql and rename it
Example: sed -e 's/old_table_name/new_table_name/g' dump.sql > dump2.sql
[show me the details]
coolcommand: lsusb - how to find the USB devices attached in your Linux server
Example: lsusb
[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

lvo1167
audet37
kah00na32
Mariom24
lebjf00015

Top 5 Searches

Category General UNIX53467
Category Solaris53325
Category AIX52469
solaris23814
aix23283

Terms of Use
Privacy
Contact


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