💾 Archived View for freeshell.de › tldr › uniq.gmi captured on 2023-09-28 at 17:00:12. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-04-28)

-=-=-=-=-=-=-

uniq

Output the unique lines from the given input or file.
Since it does not detect repeated lines unless they are adjacent, we need to sort them first.

More information.

sort {file} | uniq
sort {file} | uniq -u
sort {file} | uniq -d
sort {file} | uniq -c
sort {file} | uniq -c | sort -nr
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).

CC-BY