KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
As an exercise, does a method exist to redirect a string to a file without echo? Currently I am using echo "Hello world" > test.txt I know about cat and printf . I was thinking something like > test.txt <<<"Hello world" Of course this doesnt work, but maybe a similar command?
Tags (comma-separated)
Save Edits
Cancel