skip to content
Alvin Lucillo

Append at the end of file

/ 1 min read

To append at the end of a file, use >>. Single angle bracket overwrites existing contents.

echo 1 > output
echo 2 >> output
cat output
1
2