Update 20180102 The Uniq Command Tutorial With Examples For Beginners.md

This commit is contained in:
MjSeven 2018-04-07 21:33:12 +08:00 committed by GitHub
parent b99c8da039
commit 84efcb5b57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,3 +1,6 @@
Translating by MjSeven
The Uniq Command Tutorial With Examples For Beginners
======
If you're working mostly on command line and dealing with a lot of text files every day, you should be aware of **Uniq** command. This command helps you to find repeated/duplicate lines from a file easily. It is not just for finding duplicates, but also we can use uniq command to remove the duplicates, display the number of occurrences of the duplicate lines, display only the repeated lines and display only the unique lines etc. Since the uniq command is part of GNU coreutils package, it comes preinstalled in most Linux distributions. Let us not bother with installation and see some practical examples.