How do I sort unique lines in Linux?

Đức Linh

New member
How do I sort unique lines in Linux?
Answer
The Linux utilities sort and uniq are useful for ordering and manipulating data in text files and as part of shell scripting. The sort command takes a list of items and sorts them alphabetically and numerically. The uniq command takes a list of items and removes adjacent duplicate lines.
 

Tìm kiếm

Back
Top