A command that collapses consecutive duplicate lines.
A command that collapses adjacent duplicate lines, typically applied to data that's already been sorted. The -c option also counts how many times each line appeared, which makes it useful paired with sort for tallying frequencies.
© 2026 ITBGM