What would be the Linux command to write and save certain text string to a file?
Printable View
What would be the Linux command to write and save certain text string to a file?
That depends. If all you want to do is write a line of text to a file you could do this:
If instead you want a full-blown text editor, there are a few choices (some easier to pick up than others):Code:echo Some text you want > targetfilename.txt
vi
emacs
nano
pico
joe
jpico