Skip to Content
gnux

-u, --unique

Output only the first of an equal run.

An option of sortx.

Usage

sortx -u [FILE]...
sortx --unique [FILE]...

Details

ShortLongValueDefaultMeaning
-u--uniquenoneoutput only the first of an equal run

Examples

Sort and drop duplicate lines

sortx -u words.txt

Help in the terminal

gnux help sortx --unique

On this page