Mạnh Cường
Member
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
Answer
How to redirect the output of the command or data to end of file
- Append text to end of file using echo command: echo ‘text here’ >> filename.
- Append command output to end of file: command-name >> filename.