Create a file with multiple lines using `cat`
Oct. 12, 2018
Posted in:
Snippets
cat > /home/nav/afile
<< EOL
This
is
new
content
EOL
Return to blog