Results 1 to 2 of 2
Hi,
How can one add some text to the end of the file from the command line without opening the file?
I mean something like:
# <some command> "text" >> ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 08-13-2007 #1Just Joined!
- Join Date
- Jul 2005
- Posts
- 2
how to add some text to a file from a command line?
Hi,
How can one add some text to the end of the file from the command line without opening the file?
I mean something like:
# <some command> "text" >> myfile.txt
or something similar if this doesn't make any sence
Thanks a lot!
- 08-13-2007 #2Code:
echo "text" >> myfile.txt
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First


Reply With Quote
