[CentOS] vi : unable to copy text to other file

Johan Vermeulen

jvermeulen at cawdekempen.be
Thu May 15 11:15:17 UTC 2014


Hello All,

I'm  trying to use vi commands instead of using the mouse.

I open Gnome-Terminal

I open a file :   vi /home/jvermeulen/.ssh/id_dsa.pub

I select the key with " V " ( visual line )

I type " y " to yank the selected line.

I can now use
  :e otherfile.txt
and paste the text in otherfile.txt

This is the only way I succeed in copying text to another file in 
Gnome-Terminal of xterm.

But how can I copy text to a file on a remote machine?

Many thanks.

-- 
Johan Vermeulen
IT-medewerker
Caw De Kempen
johan.vermeulen at cawdekempen.be

Powered by Linux.




More information about the CentOS mailing list