Stois
Posts: 1
Joined: Mon Dec 07, 2015 9:15 am

Clipboard inside Linux

Mon Dec 07, 2015 9:18 am

I know how to copy paste information outside of Linux via SSH/Putty, but I would like to use a native clipboard function inside the unit - is there such a thing?

clip - I think is the command.

elatllat
Posts: 1337
Joined: Sat Dec 17, 2011 5:05 pm

Re: Clipboard inside Linux

Mon Dec 07, 2015 8:34 pm

There is one if you are using the GUI (directly or via vnc).
on the CLI vim/vimdiff has one so you can copy from one file to another, but most copying is accomplished with output redirection like;

Code: Select all

grep -A 3 something this.txt >> that.txt
will append something + 3 lines to that.txt from this.txt.
SBC with 32GB RAM: https://hardkernel.com

FAQ : https://raspberrypi.stackexchange.com

Unanswered: https://www.raspberrypi.org/forums/search.php?search_id=unanswered

Return to “Beginners”