Linux Interview Questions
Tuesday, 27 October 2015
I have 2 files and I want to print the records which are common to both.
We can use “comm” command as follows:
comm -12 file1 file2 … 12 will suppress the content which are
unique to 1
st
and 2
nd
file respectively.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment