An einer Datei vom Terminal anhängen
echo "text to append" >> filename
# for multiple lines
echo -e "line1\nline2\nline3" >> filename
Genius
echo "text to append" >> filename
# for multiple lines
echo -e "line1\nline2\nline3" >> filename