coolcommands.com - the search engine for unix sysadmins :: unix commands and scripts
Friday September 30, 2016


 Home
 Search
 Advanced Search
 Category Search
 Affiliates
 Acknowledgements
 Cool Links

Username

Password

Remember me
Forgot your password?

Who's Online
We have 21 guests online

Hit Counter
18459078 Visitors

cool Statistics
coolcommands:1346
Categories:83
Total queries:661641
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: find syntax for not traversing NFS mounted filesystems
Example: find / -fstype nfs -prune -o fstype autofs -prune -o -name filename -print
[show me the details]
coolcommand: chgroup - how to change attributes for groups in IBM AIX
Example: chgroup users=sam,carol,frank finance
[show me the details]
coolcommand: show_slots.sh - script to show all slots of managed systems on IBM HMC
Example: ssh hmc show_slots.sh
[show me the details]
coolcommand: how to dump a mysql database which uses reserved words as column names
Example: mysqldump --quote-names --opt -u root --password=badpass --databases dnbame > backup.sql
[show me the details]

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


Top 5 Submitters

lvo1167
audet37
kah00na32
Mariom24
lebjf00015

Top 5 Searches

Category General UNIX60692
Category AIX54470
Category Solaris54261
solaris23973
aix23448




Terms of Use
Privacy
Contact


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