Linux command: uniq uniq - report or omit repeated lines Source code on GitHub: https://github.com/coreutils/coreutils/blob/master/src/uniq.c uniq Cheat Sheet uniq -c | sed -e 's/^[ \t]//' uniq -u Labels coreutils Linux LPIC-1 uniq