Tech-Talk
Technology tinkering notes.
Monday, February 17, 2014
Script to Add Multiple Lines to a File
Shell script command to add multiple lines to a file:
cat <<EOF >>
/tmp/newFile
# these lines are added added
# more lines here
EOF
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment