The echo command prints text. The following command prints Hello World to the screen:
echo "Hello World"The following command prints Hello World to a file called myfile.txt:
echo "Hello World" > myfile.txt Did you find this post helpful? Leave a comment below, and subscribe to my RSS feed.