Create a file with the echo command

To create a file:

1. Type the command echo and then continue to type the text that you want to appear in the file.

When you have finished typing in your text:

2. Type > name_of_file.

3. Press the <Return> key.

This method is useful for creating short files with containing one or two lines of text.


Top document