2

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.

6
  • I tried, that did not work :/. Thank you for your response though.
    – user248652
    Feb 15, 2014 at 23:05
  • How have you installed Microsoft Word? It is not installed by default and not available for Ubuntu either.
    – kiri
    Feb 15, 2014 at 23:11
  • Microsoft Word is installed on my the host computer not the VM. Can I still do that?
    – user248652
    Feb 15, 2014 at 23:45
  • Are you running Ubuntu in a VM? Do you want to copy the Ubuntu VM's terminal output to the host's MS Word? Please edit your question to add this.
    – kiri
    Feb 15, 2014 at 23:47
  • Yeap this is what I want to do. Sorry for the confusion.
    – user248652
    Feb 15, 2014 at 23:47

4 Answers 4

1

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?

1

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
1

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.

enter image description here

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 )

0

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/

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .