cancel
Showing results for 
Search instead for 
Did you mean: 
khokha
Flight Engineer
Flight Engineer
  • 5,138 Views

copy and paste in exam

Jump to solution

Hello,

I'd problem with copy and paste specially for text, any url i just right click select copy then paste.

for text selection, i tried to highlight text by pressing left button of mouse and selecting for multiple words but didn't work in both console and exam questions , so how can i copy text from console for example UUID? and from exam question (multiple words not entire line)?

Thanks in advance

1 Solution

Accepted Solutions
Fran_Garcia
Starfighter Starfighter
Starfighter
  • 5,118 Views

Copying and pasting usually works with the following keyboard shortcuts:

- Using Control-C & Control-V , or  Shift-Control-C & Shift-Control-V .

- Using the GUI controls (eg, select text and click on Edit -> Copy , Edit -> Paste)

- Using the mouse to select the text (it gets automatically copied into the clipboard) , and middle mouse button to paste the text.

 

I tend to use the first method, and works without issues.

 

In the case of Virtual Machine consoles, there is no way to paste from the host/external system into the VM console. Things like UUIDs can be inserted into the destination file with a bit of trickery, such as getting the ID from a command, then piping into the destination file with ">>" or similar. Alternatively, you can connect over SSH to the system, where copy/paste works in the way described above. (I don't think I ever had to manually type any UUID manually in a console, anyway).

View solution in original post

6 Replies
Fran_Garcia
Starfighter Starfighter
Starfighter
  • 5,119 Views

Copying and pasting usually works with the following keyboard shortcuts:

- Using Control-C & Control-V , or  Shift-Control-C & Shift-Control-V .

- Using the GUI controls (eg, select text and click on Edit -> Copy , Edit -> Paste)

- Using the mouse to select the text (it gets automatically copied into the clipboard) , and middle mouse button to paste the text.

 

I tend to use the first method, and works without issues.

 

In the case of Virtual Machine consoles, there is no way to paste from the host/external system into the VM console. Things like UUIDs can be inserted into the destination file with a bit of trickery, such as getting the ID from a command, then piping into the destination file with ">>" or similar. Alternatively, you can connect over SSH to the system, where copy/paste works in the way described above. (I don't think I ever had to manually type any UUID manually in a console, anyway).

khokha
Flight Engineer
Flight Engineer
  • 5,106 Views

Hi @Fran_Garcia ,

The problem is i couldn't highlight text.

when i tried to select text from questions using left button of the mouse the text wasn't highlighted or it doesn't have to ?

As per RedHat it isn't recommended to use ctrl+c and ctrl+v so i prefer to use mouse instead.

For UUID, files_path i had to write everything manually which made my lose precious time i could have used for solving questions

so, any recommendations for how to hightlight text in exam questions e.g. (file_path), passwords?

Thanks for replying.

0 Kudos
Fran_Garcia
Starfighter Starfighter
Starfighter
  • 5,079 Views

Again, you are trying to copy and paste directly into the VM console. That probably doesn't work in the exam environment because the VM doesn't have the focus of the mouse. It's not a limitation on the exam environment, but rather how the VM consoles work. For the mouse to work inside a VM console you need to:

a) ensure that the VM has the mouse cursor grabbed (not your desktop).

b) ensure you are running some TTY mouse management service, like gpm.service (provided by the gpm package). 

This is all quite convoluted. If you have SSH access to the machine, just ssh and you'll be able to copy and paste easily. Note that you will still not be able to copy from the host, and paste into the VM (or viceversa). Clipboards will remain separated for each system.

I don't understand also where this recommendation of not using Control-C, Control-V comes from. I've successfully used the Shift+Control-C|V on multiple exams from the exam questions to the SSH sessions, or to a temporary editor (eg: gedit), without any issues either.

 

In short: connect over SSH and you'll be able to happily copy and paste. Only use the VM terminal when you absolutely cannot connect via SSH.

khokha
Flight Engineer
Flight Engineer
  • 5,061 Views

Thanks for your reply @Fran_Garcia , 

i couldn't highlight or select the text from exam questions with this i mean the question itself not the output from the console this is primarily my main issue, when i try to select e.g file_path, dir or pw to copy it i couldn't select it. 

In the video provided by RedHat it is recommending to use mouse not ctrl-c,v

For the UUID i figured out way how to redirect it thanks to you.

I'm having an exam soon, so i'm trying to figure this out before i take the exam to avoid losing time in writing everything.

I'll try to use ssh this time.

 

0 Kudos
jfletcher
Mission Specialist
Mission Specialist
  • 5,091 Views

Hello,

It seems like you're having issues with copying and pasting text, particularly when dealing with URLs, console outputs, and exam questions. I'd be happy to help you with this.

When copying text, there are a few different methods you can try depending on the context:

1. **Normal Text Copy-Paste:**
For regular text like URLs, you can usually use the right-click method you mentioned: right-click on the text you want to copy, select "Copy," and then right-click where you want to paste and select "Paste."

2. **Text Selection:**
It sounds like you're having trouble selecting and copying specific portions of text. To select multiple words or a specific range of text, follow these steps:
- Click and hold your left mouse button at the beginning of the text you want to select.
- While holding the mouse button, drag the cursor over the text to highlight the desired portion.
- Once the text is highlighted, release the mouse button.
- Right-click on the highlighted text and select "Copy."
- Right-click where you want to paste and select "Paste."

3. **Console Output and Exam Questions:**
Copying text from a console output or an exam question should work similarly to regular text. If the left-click-and-drag method isn't working for you, you might want to check a few things:
- Make sure your mouse is functioning properly. Sometimes, mouse issues can affect text selection.
- If you're dealing with a console, ensure that the console output is not interactive. Some consoles might prevent text selection for security reasons.
- In some cases, the application or website you're using might have restrictions on copying text. If this is the case, you might not be able to copy text directly.

If you're specifically trying to copy a UUID (Universally Unique Identifier) or a portion of an exam question, the above methods should work. If you're still encountering difficulties, you might consider checking if there are any browser extensions or settings that could be interfering with text selection and copying.

Remember that the ability to copy text can sometimes be limited by the application or website you're using, so it's worth investigating if the issue persists across different contexts.

I hope this helps you resolve your copy-paste issues. If you need further assistance, feel free to ask!

jfletcher
Mission Specialist
Mission Specialist
  • 5,090 Views

1. Copy and Paste in Terminal (Linux/macOS):

- To copy: Select the text using the mouse, and once selected, press `Ctrl + Shift + C`.
- To paste: Right-click where you want to paste and select "Paste," or press `Ctrl + Shift + V`.

2. Copy and Paste in Command Prompt (Windows):

- To copy: Select the text using the mouse, then right-click and choose "Copy."
- To paste: Right-click where you want to paste and choose "Paste."

Remember that these commands might vary depending on the operating system and application you're using. In some cases, you can also use key combinations like `Ctrl + C` to copy and `Ctrl + V` to paste.

If you're working in a more advanced environment like a command-line console, the commands might vary based on the specific program you're using. If you can provide more details about the environment you need to copy and paste in, I'd be happy to give you more specific instructions.

Keep in mind that the ability to copy and paste can also be restricted by application settings or design, so some applications might not allow this functionality.

0 Kudos
Join the discussion
You must log in to join this conversation.