Is it possible to copy from the Ubuntu terminal to Microsoft Word? In fact, Microsoft Word is installed on my computer while I am running Ubuntu on a virtual machine.
4 Answers
Use your mouse to select the text in the terminal. Right-click in the terminal and choose 'Copy'. Then paste the text from the clipboard in Word (Right-click 'Paste').
Does this help you?
- 331
- 1
- 2
- 7
You can copy something from a terminal with your mouse :
- Select the text
- Right-clic > copy
- Right-clic > paste
You can also do it with your keyboard :
- Select the text
- CtrlShiftC to copy (ctrl-shift-v to paste something, btw)
- AltTab to switch to your document (you opened it before)
- CtrlV to past once in your document
You can also use a trick to get the terminal-printed informations in a file :
- simply use
my-commandline-as-usual > /path/to/file.doc
- 5,965
Though OP did not clearly mentioned I am assuming OP is using Oracle VM VirtualBox. To enable copy and paste between host and guest one need to install guest addition.
Download Oracle VM VirtualBox Extension Pack and install on host (windows). Next open VM go to guest (Ubuntu) and install guest addition.
To install you need to go to System Settings >> Additional Dirvers, and install guest addition. Otherwise take a look on this tutorial. It shows the other way.
Now you need to enable clipboard sharing. Go to virtual machine.
Go to Devices >> Shared Clipboard and check Bidirectional
The following snap should make it clear.

Now you can directly copy from a guest to host or vice-verse. Either right click and copy or use custom copy ( Ctrl+C ) paste ( Ctrl+V ) shortcuts.
For terminal copy ( Ctrl+Shift+C ) and paste ( Ctrl+Shift+V )
- 46,120
Ctrl+Shift+C for copy.
Ctrl+C terminates a program, so you need the shift
EDIT:
If its on a VM you could probably write to a text file on a USB,gdrive, or something like pastebin http://pastebin.com/
- 183