User Tools

Site Tools


commandline:ubuntu_sort_and_count_lines

Sort And Count Occurrence Of Lines

cat <file> |LC_ALL=C sort | LC_ALL=C uniq -c
commandline/ubuntu_sort_and_count_lines.txt · Last modified: by Allan