coolcommands.com - the search engine for unix sysadmins :: unix commands and scripts
Friday October 31, 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
14821371 Visitors

cool Statistics
coolcommands:1346
Categories:83
Total queries:641666
Members:22813





Search coolcommands.com
Search Keyword:


coolcommand

how to match a string like linux or solaris in ksh
Description

if [[ "$1" = @(linux|solaris) ]];then echo Match; fi
Example

if [[ "$1" = @(linux|solaris) ]];then echo Match; fi

Return to search results

Random coolcommands

coolcommand: how to find the world-wide name (WWN) of a fibre-channel card in IBM AIX
Example: lscfg -vp -l fcs0 | grep "Network Address"
[show me the details]
coolcommand: tail - how to output the last part of files
Example: tail -f myfile; tail -50 myfile; tail +10 myfile
[show me the details]
coolcommand: how to find the name resolution order
Example: /etc/nsswitch.conf
[show me the details]
coolcommand: how to sort a hosts file by ip address
Example: ypcat hosts | sort -n -t. +0 -1 +1 -2 +2 -3 +3 -4
[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 UNIX53472
Category Solaris53326
Category AIX52472
solaris23814
aix23283

Terms of Use
Privacy
Contact


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