coolcommands.com - the search engine for unix sysadmins :: unix commands and scripts
Friday July 31, 2015


 Home
 Search
 Advanced Search
 Category Search
 Affiliates
 Acknowledgements
 Cool Links

Username

Password

Remember me
Forgot your password?

Who's Online
We have 52 guests online

Newest Member

nbewwmbxog

Hit Counter
16336062 Visitors

cool Statistics
coolcommands:1346
Categories:83
Total queries:650628
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: how to match a string like host1 or host2 in ksh
Example: if [[ "$1" = host[12] ]];then echo Match; fi
[show me the details]
coolcommand: how to initiate a user requested kernel crash in Linux
Example: echo 1 > /proc/sys/kernel/sysrq; cd /proc; echo c > sysrq-trigger
[show me the details]
coolcommand: no - how to manage network tuning parameters in IBM AIX
Example: no -p -o tcp_sendspace=65536
[show me the details]
coolcommand: alt_disk_install - how to clone the currently running system to an alternate disk in IBM AIX
Example: alt_disk_install -C hdisk0; shutdown -Fr; alt_disk_install -X old_rootvg
[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 UNIX55813
Category AIX53894
Category Solaris53760
solaris23830
aix23309

Terms of Use
Privacy
Contact


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