echo "<string to append>" >> <file> #Example: echo "My string" >> /home/user/myfile.txt
source
You must be logged in to post a comment.