Advertisement
fduran

Linux shell here document on the fly

Feb 19th, 2012
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.13 KB | None | 0 0
  1. # www.fduran.com
  2. # Linux shell "here" document
  3.  
  4. $ cat > newfile << EOF
  5. > write something
  6. > EOF
  7.  
  8. $ cat newfile
  9. write something
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement