CMP - Comm Command in Linux
CMP - Comm Command in Linux
what is comman
-------------comm - compare two sorted files line by line
Compare sorted files FILE1 and FILE2 line by line.
[root@Server1 ~]# cat a.txt
sl-9023
sl-2112
sl-9029
sl-1210
sl-1215
[root@Server1 ~]# cat b.txt
sl-9029
sl-9023
sl-1215
sl-2112
sl-9012
sl-9016
[root@Server1 ~]#
Using bash process substitution technique (without creating those temporary fil
es)
-----------------------------------------------------------------------------------