Getting unique data in Linux by running the data through uniq command

It is possible to learn about unique data in Linux, by running output through 'uniq' command. Linux uniq command will only work with sorted data.

For example, if it is needed to view only unique lines in the file, such data needs to be sorted first, and then unique filter needs to be applied to it.


Comments

Popular posts from this blog

Absolute and relative path in HTML pages

Errors

goto PHP operator