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 23 guests online

Newest Member

beyondimagem

Hit Counter
9133541 Visitors

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





Category Search coolcommands.com
Select Category:


coolcommand

comm - select or reject lines common to two sorted files
Description

To select or reject lines common to two sorted files:

# comm [ -1 -2 -3 ] File1 File2

where:

-1 : suppresses the display of the first column (lines in File1).

-2 : suppresses the display of the second column (lines in File2).

-3 : suppresses the display of the third column (lines common to File1 and File2).

Example to display the lines that appear in only one file, enter:

# comm -23 file1 file2

Example to display the lines unique to each file and common to both, enter:

# comm file1 file2
Example

comm file1 file2

Return to search results

Random coolcommands

coolcommand: how to extract the directory from a fully qualified file name
Example: FILE=/full/path/to/the/file; echo ${FILE%/*}
[show me the details]
coolcommand: prtconf - how to determine the LPAR partition number and name in IBM AIX
Example: prtconf -L
[show me the details]
coolcommand: how to list the tunable kernel parameters in Sun Solaris
Example: /usr/ccs/bin/nm -x /dev/ksyms | grep OBJ
[show me the details]
coolcommand: mkuser - add a user in IBM AIX
Example: mkuser id='673' pgrp='mqm' groups='mqm' su='true' sugroups='mqm' home='/home/mqm' gecos='MQ Series User' maxage='0' mqm
[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