Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to paste to terminal linux in virtual box with mac keyboard?

Tags:

I'm using Mac and I've installed debian linux on virtual box. I want to copy a URL from my Mac to terminal linux in virtual box. How can I do that?

like image 940
ggomesfe Avatar asked Dec 05 '12 03:12

ggomesfe


People also ask

How do I paste into Linux terminal VirtualBox?

Start the VM, and once it's booted, click Devices | Shared Clipboard | Bidirectional (Figure A). You can now copy and paste from guest to host and host to guest.

How do you paste in Linux Terminal Mac?

In the Terminal app on your Mac, do any of the following: Copy text in another app, and then in Terminal choose Edit > Paste. Drag selected text into a Terminal window from any macOS app that supports it.

How do I copy and paste from Mac to VirtualBox?

In the top menu go to Device -> Insert Guest Additions CD image. On the Windows VM go to Explorer, then look for the drive that represents the newly "inserted" CD. Once there, run VBoxWindowsAdditions.exe as administrator and install. Enable Clipboard and Drag&Drop under either VM settings or the Devices menu.

How do I paste from Mac to virtual machine?

Right-click and select Paste or press Ctrl+V (⌘+V if you're using macOS) to paste the text into the VM Clipboard. A Success message displays in the VM Clipboard window. In the VM, click where you want to paste the text. Right-click and select Paste or press Ctrl+V (⌘+V if you're using macOS).


1 Answers

Sometimes, it's just easier to open a terminal on the Mac and then SSH to the VirtualBox guest. That avoids a lot of the hassle of changing focus, etc.

like image 196
Alan Porter Avatar answered Sep 23 '22 16:09

Alan Porter