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?
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.
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.
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.
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).
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With