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