- Forums
- Linux
- How To Create A File With Cat In Linux
today i will show you how you a simple way to make a file with one single command using the cat command and redirecting the output to a file so it can be save. [3329], Last Updated: Mon Jun 24, 2024
Pauls
Tue Apr 27, 2010
0 Comments
473 Visits
today i will show you how you a simple way to make a file with one single command using the cat command and redirecting the output to a file so it can be save.
the command is for example:
$ cat - > text.txt type the following:
Webune, this is Cool!
hit control-D and send this command
$ cat text.txt you will see this output:
Webune, this is Cool!