How do I add content to a file in Linux?

Lượng Tiger

New member
How do I add content to a file in Linux?
Answer
If you want to add a bit of new text to an existing text file, you use the cat command to do it directly from the command line (instead of opening it in a text editor). Type the cat command followed by the double output redirection symbol ( >> ) and the name of the file you want to add text to.
 

Tìm kiếm

Back
Top