# echo $ >> file.txt
Try this:Seeker said:I would rather do this (Acting, like "$" holds a value of buffer):
Code:# echo $ >> file.txt
cat >>file.txt
aragon said:Try this:
Code:cat >>file.txt
After that hit middle click to paste the contents and finish it off with Ctrl+D on a newline.
Seeker said:Guys. I am already constantly using middle mouse button for pasting.
It is just that I am tired of opening a file with vi, then pressing "i" and then pressing middle mouse button, to put some text in file.
and closing file with ":x"
I would rather do this (Acting, like "$" holds a value of buffer):
Code:# echo $ >> file.txt