How do I add a file in Linux terminal?

How do I add a file in Linux terminal?
Answer
To create a new file run 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.
 

Tìm kiếm

Back
Top