Linux DevopsRoles.com

cat command in Linux with Examples

cat command means Concatenate file(s), or standard input, to standard output.

Syntax

cat [OPTION]… [FILE]…

On the man page, the describes it

  • cat – concatenate files and print on the standard output.
  • man cat – More details information about cat command.

cat command in Linux with Examples

$ cat devopsroles.txt
$ cat -n devopsroles.txt

Conclusion

cat command is a simple command in Linux. It is the most popular in use terminal Linux concatenate files and print on the standard output. Thank you for reading the DevopsRoles page!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.