Results 1 to 2 of 2
What would be the Linux command to write and save certain text string to a file?...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 12-05-2005 #1Just Joined!
- Join Date
- Dec 2005
- Posts
- 2
Editing text from command line
What would be the Linux command to write and save certain text string to a file?
- 12-05-2005 #2
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
Registered Linux user #270181
TechieMoe's Tech Rants


Reply With Quote
