7

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

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

1 Answer 1

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.

1
  • Just commenting here since this is the first result in Google: This does work in the raw console (ie without X11). Commented May 23, 2023 at 14:33

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.