coolcommands.com - the search engine for unix sysadmins :: unix commands and scripts
Sunday May 27, 2012


 Home
 Search
 Advanced Search
 Category Search
 Affiliates
 Acknowledgements
 Cool Links

Username

Password

Remember me
Forgot your password?
Create an account

Who's Online
We have 22 guests online

Newest Member

beyondimagem

Hit Counter
9133536 Visitors

cool Statistics
coolcommands:1330
Categories:83
Total queries:595500
Members:16437





Category Search coolcommands.com
Select Category:


coolcommand

how to sort a hosts file by ip address
Description

Here is a quick oneliner to sort a hosts file or NIS hosts database:

# ypcat hosts | sort -n -t. +0 -1 +1 -2 +2 -3 +3 -4
Example

ypcat hosts | sort -n -t. +0 -1 +1 -2 +2 -3 +3 -4

Return to search results

Random coolcommands

coolcommand: how to run a filesystem check (fsck) using an alternate block in Sun Solaris
Example: newfs -Nv /dev/rdsk/c0t0d0s0; fsck -F ufs -o b=97472 /dev/rdsk/c0t0d0s0
[show me the details]
coolcommand: fw - how to unload a policy using the command line in Checkpoint Firewall-1
Example: fw unload firewallgw1
[show me the details]
coolcommand: how to delete a snapshot of a JFS2 filesystem in AIX
Example: snapshot -d -n snapshot_name /filesystem_name
[show me the details]
coolcommand: free - to see swap space information in linux
Example: cat /proc/meminfo; free
[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

lvo1152
audet37
kah00na32
Mariom24
lebjf00014

Top 5 Searches

Category Solaris49379
Category AIX46267
Category General UNIX43933
solaris22927
aix22116

Terms of Use
Privacy
Contact


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