How to copy text in a VM?

0195

To copy text in a VM, you can use the following methods:

Using Right Mouse Button

  1. Select the text you want to copy.
  2. Right-click to copy it.
  3. To paste, right-click again in the desired location.

Using Keyboard Shortcuts

  • In tmux:

    1. Press Ctrl + b (or your custom prefix) followed by [ to enter copy mode.
    2. Use arrow keys to navigate and select text.
    3. Press Enter to copy the selected text.
    4. Move to the desired location and press Ctrl + b followed by ] to paste.
  • In other terminal applications:

    • You can often use Ctrl + Shift + C to copy and Ctrl + Shift + V to paste.

Make sure to check the specific settings of your VM environment, as they may vary. Let me know if you need further assistance!

0 Comments

no data
Be the first to share your comment!