Community Page
- www.tech-recipes.com/ Jump to website »
-
Subscribe -
Community
-
Top Commenters
-
Popular Threads
-
Recent Comments
- Thats cool Stuff as i m Nebie to unix
- Thnks You............
- hey babes its chris brown babes add me sexy lades 4032 4504 5276 6539
- hey everyone add me love yah 4032 4504 5276 6539 4032 4504 5276 6539
- Great dude .. this works
Tech-Recipes
Cookbook of Tech TutorialsSending multiple lines of input to a program | UNIX shell scripting | Tech-Recipes
Started by qdideas · 9 months ago
3 years ago
cat<<EOF > /tmp/MY_NEW_FILE
line 1
one more line
...
last line
EOF
3 years ago
Anyone who knows about here docs definitely has a strong background in UNIX. If you are willing to share any more tips, you can add them as an official recipe in the category hierarchy that you feel is appropriate. If they are new recipes, we'll validate them and you'll be compensated... A hint to any recipe authors and future Tech Chefs out there, it's a good idea to do a little search first to see if your idea for a recipe is in our cookbook of over a thousand recipes.
Quinn