Linux wie man in Datei schreibt
#write to file and delete previous text
cat > file
#write to file and connect to the end of the text
cat >> file
KeWols
#write to file and delete previous text
cat > file
#write to file and connect to the end of the text
cat >> file
echo "hello" > ~/Desktop/new_file.txt && echo "world" >> ~/Desktop/new_file.txt