What Is Cat Command in Linux?
Contents Share Facebook Twitter Email Click to Copy Link Share Link Link Copied Cat Unix-Like Operating System Command How Does Cat Command Work? on Unix-Like...
Contents
Share
Click to copy link
Share link
Link copied
cat
Unix-like operating system command
How does cat command work?
On Unix-like operating systems, the cat command reads data from files, and outputs their contents. It is the simplest way to display the contents of a file at the command line.
How do I create a file for my cat?
To create a new file use the cat command followed by the redirection operator (‘>’) and the name of the file you want to create. Press Enter type the text and once you are done press the CRTL+D to save the files.