Javatpoint Logo
Javatpoint Logo

Linux cat command (to copy)

The 'cat' command can be used to copy the content of a file into another file.

Syntax:

Example:

Linux cat Copy

In the above snapshot, we have copied the content of file 'combo' into the file 'combo2' with the command "cat combo > combo2".





Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


B.Tech / MCA