Quantcast
Channel: How to paste into nano from clipboard? - Super User
Viewing all articles
Browse latest Browse all 11

Answer by Denis Smirnov for How to paste into nano from clipboard?

$
0
0

I found a great way to do so if the button combinations doesn't work for you!

If you are able to paste into the command line itself, then you can do this:

echo "INSERTED_TEXT">>"FILE_NAME"

It will merely APPEND your text to the file. After this operation you can conveniently CUT and PASTE what you need and where you need it!

CAUTION THOUGH!!! In case if you type ">" operator instead of ">>" you will OVERWRITE the whole file


Viewing all articles
Browse latest Browse all 11

Trending Articles