How do I add output to a file in Linux?

How do I add output to a file in Linux?
Answer
How to redirect the output of the command or data to end of file
  1. Append text to end of file using echo command: echo ‘text here’ >> filename.
  2. Append command output to end of file: command-name >> filename.
 

Tìm kiếm

Back
Top