Linux uniq Command
What is Linux uniq Command?
In this tutorial we learn how to use uniq
command in Linux. uniq
command is uniq - report or omit repeated lines.
uniq Syntax
uniq [OPTION]... [INPUT [OUTPUT]]
uniq Examples
uniq Command Manual / Help
We can use man
and info
command to see the manual page of uniq
command. uniq
command also have --help
option to show list of options.
To open man page for uniq
command we can use command below. To exit man or info page you can press q
.
man uniq
To open info page for uniq
command we can use command below.
info uniq
To open help page from uniq
command we can run command below.
uniq --help
Linux uniq Command Source Code
You can find uniq
command source code from the folowing repositories:
- uniq source code on GitHub
- uniq source code on GNU Savannah cgit
- uniq source code on GNU Savannah gitweb
Related Linux Commands
You can read tutorials of related Linux commands below:
Summary
In this tutorial we learn how to use uniq
in Linux with practical examples. Visit our Linux Commands guide to learn more about using command line interface in Linux.