返回命令列表

Linux command

Remove duplicate lines

文件

Uses pipes, overwrite, or deletion. Check paths and options first.

命令示例

Remove duplicate lines

sort file | uniq

说明

Useful Linux one-liner

FAQ

What is the sort command used for?

Useful Linux one-liner

How do I run a basic sort example?

Run `sort file | uniq` in a terminal, then adjust file names, paths, flags, or remote targets for your system.