TiPs Of Linuxa
Pages
Lnx-Hub
SVK
ScrPtS
VirT
WinD
LatesT
Ubuntu
CentOS
ServerS
Removing Duplicate Lines
Removing Duplicate Lines With Sort, Uniq and Shell Pipes
Use the following syntax:
# sort {file-name} uniq -u
# sort ftest.txt uniq -u
Where,-u : check for strict ordering, remove all duplicate lines
Newer Post
Older Post
Home