uniq
Verified for current stable LTS
Uniq Commands
Uniq command syntax with verified terminal examples.
Commands
7 commands for Uniq
uniq Operations
Uniq Command: Compare First 10 Characters For Uniqueness
sort <path/to/file> | uniq -w 10 uniq Operations
Uniq Command: Compare Text After First 5 Characters For Uniqueness
sort <path/to/file> | uniq -s 5 uniq Operations
Uniq Command: Display Each Line Once
sort <path/to/file> | uniq uniq Operations
Uniq Command: Display Number Of Occurrences Of Each Line
sort <path/to/file> | uniq -c uniq Operations
Uniq Command: Display Occurrences Sorted By Frequency
sort <path/to/file> | uniq -c | sort -nr uniq Operations
Uniq Command: Display Only Duplicate Lines
sort <path/to/file> | uniq -d uniq Operations
Uniq Command: Display Only Unique Lines
sort <path/to/file> | uniq -u Suggest a Uniq Command
Submit missing workflows, corrections, or verified alternatives for this tool.
FAQ
Coverage: Focused examples for common Uniq workflows.
Verified version: current stable LTS.
Verification: Test commands in a disposable workspace and submit notes for edge cases.