How to use the sdiff command
Addthefileyouwanttocomparewith.Also,asshortcut,selectthefileyouwanttocompareandpressctrl+D,thisoptionisveryhandy.,commcompares(sorted)inputfilesandbydefaultoutputsthreecolumns:linesthatareuniquetoa,linesthatareuniquetob,andlinesthatarepresentin ....。參考影片的文章的如下:
![How to Compare Two Files in Ubuntu [GUIDE]](https://i.ytimg.com/vi/eRDbueg4mn0/hqdefault.jpg)
![How to Instantly Compare Two Files from the Command Line [easy]](https://i.ytimg.com/vi/3TQnV8qrJhQ/hqdefault.jpg)