linux的瑞士军刀:lsof/fuser/pkill/pgrep与sort uniq妙用时间:2020-12-10 08:57:01 cat a b | sort | uniq > c # c是a和b的并集 cat a b | sort | uniq -d > c # c是a和b的交集 cat a b b | sort | uniq -u > c # c是a和b的差集