How do I put text into a file in Linux?

How do I put text into a file in Linux?
Answer
Type the cat command followed by the double output redirection symbol ( >> ) and the name of the file you want to add text to. A cursor will appear on the next line below the prompt. Start typing the text you want to add to the file.
 

Tìm kiếm

Back
Top