uniq command: The uniq command is use to find uniq value in file and remove duplicate value .
File output
# cat file
test
test
test1
test2
uniq command to file uniq value from file
# uniq file
test
test1
test2
Find out duplicate value from file
# uniq -d file
test
Note: as you seen from file test word is repeating twice or more than twice.
Find out duplicate value repeated count.
# uniq -D file
test
test
File output
# cat file
test
test
test1
test2
uniq command to file uniq value from file
# uniq file
test
test1
test2
Find out duplicate value from file
# uniq -d file
test
Note: as you seen from file test word is repeating twice or more than twice.
Find out duplicate value repeated count.
# uniq -D file
test
test
I gathered as much knowledge regarding to the Linux, web sever and database server from your site.Keep on updating with more interesting topic.
ReplyDeleteMoreover to recover the lost file from Linux Click on:
android data recovery review
launch android data recovery
backup and restore android apps and data
android backup app data
recover lost files
diskdigger pro file recovery