write a long text in terminal to file [debian 64bit]

simply paste in terminal:
cat << EOF | tee ~/test.txt
----------------------------------------------------
hello world

this is a very long story.
oh?!?
this is the end.
----------------------------------------------------
EOF

Advertisements

shrunk / backup / write / flash / burn raspberry pi image [raspberry pi,ubuntu]

to avoid problems if you remove a sd-card:
rechtsclick auf datenträger > aushängen!!!! (wie bei windows sicher entfernen)

first do steps 1-8
then steps a-f

shrunk image on sd-card [ubuntu] Continue reading