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?

Edit
Report