chronx Find something you love to do and you'll never have to work another day for the rest of your life

13Jan/120

paste buffer into file using cat

Posted by oxchronxo

1) first issue the following command
$ cat > FILENAME
2) type whatever you want
-- or --
2) paste in a buffer then press ENTER to write the pasted buffer to the file
3) to complete the operation issue a CTRL+D to return to the console