Answers for "add a file in terminal"

0

append to a file from terminal

echo "text to append" >> filename

# for multiple lines
echo -e "line1nline2nline3" >> filename
Posted by: Guest on February-26-2021

Browse Popular Code Answers by Language