5

How do I copy paste text inside the FreeBSD console? I tried

  1. ctrl + c, ctrl + v
  2. super + c, super + v

I have FreeBSD 10.1 installed in VirualBox on a Mac.

I am selecting text with the mouse in FreeBSD console and pressing ctrl + c, ctrl + v expecting that selected text will be inserted in the console but nothing occurs.

enter image description here

  • The console (TTY) or a terminal emulator (like xterm)? – jasonwryan Mar 9 '15 at 6:37
  • @jasonwryan I don't know exactly, but I think in TTY. I uploaded a screenshot – Maxim Yefremov Mar 9 '15 at 6:44
  • 1
    That is a TTY/console. If you have mouse selection, you should be able to Shift-Insert to paste... – jasonwryan Mar 9 '15 at 6:55
  • @jasonwryan thank you, it works, and in case I already have something in the clipboard how to paste it? – Maxim Yefremov Mar 9 '15 at 7:11
  • @efr: If you mean a clipboard on your host machine you need to enable clipboard sharing in Virtualbox – Arkadiusz Drabczyk Mar 10 '15 at 0:02
2

[Putting some of the stuff from comments here as an answers so that this question may perhaps be marked answered.]

First, select text via the mouse, then press either the middle button or Shift-Insert to paste.

Note that you will need the VirtualBox or VMWare guest additions to copy/paste between the host and the guest. And you'll need to enable clipboard sharing for that particular VM guest. I believe they will only work in X11, not on the console.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.