Answers for "append multi lines to file linux"

0

append multi lines to file linux

echo "line 1 content
line 2 content
line 3 content" >> myfile.txt
Posted by: Guest on June-27-2021
0

append multi lines to file linux

$ (cat <<EOF )>>file3
line1
line2
EOF
$ cat file3
line1
line2
Posted by: Guest on September-07-2021

Code answers related to "append multi lines to file linux"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language