Search⌘ K
AI Features

Filtering Repeated Lines Out

Explore the uniq command in Bash to filter repeated lines from sorted input. Learn how to display duplicates, unique lines, and counts, while using options to ignore fields or characters during comparisons.

We'll cover the following...

uniq

Definition:

uniq command in bash is a command line utility to filter and view multiple repeated lines.

This command works on ...