3 ms·
you can save one command by using sort -u which eliminates dupes in the sort, removing the need for uniq
by pge 7y ago
you can save one command by using sort -u which eliminates dupes in the sort, removing the need for uniq
- kbr2000 7y agoTnx, that one I didn't know... You can drop another command as such: lsof |awk '($10 ~ /^\/home\//) {print $10}' |sort -u