tech123786
Technical User
Hello,
This is a general unix question. I have two files in which they have some 300 server names listed line by line . Some of the lines are common in both the files. I need to get these names which are similar in both the files.Is there any command or utility to get these lines?
I know I can use cmp or diff to compare the files for the differences. But I need to get the common names in both the files.
Thanks
This is a general unix question. I have two files in which they have some 300 server names listed line by line . Some of the lines are common in both the files. I need to get these names which are similar in both the files.Is there any command or utility to get these lines?
I know I can use cmp or diff to compare the files for the differences. But I need to get the common names in both the files.
Thanks