Nasir Nawaz
Quiz por , criado more than 1 year ago

If you type something wrong on a command line, the bash shell ensures that you don’t have to delete the entire line and start over. Likewise, you can recall a previous command-line and change the elements to make a new command.

9
0
0
Nasir Nawaz
Criado por Nasir Nawaz mais de 7 anos atrás
Fechar

Command-line editing

Questão 1 de 22

1

This moves the cursor to the beginning of the command line.

Selecione uma das seguintes:

  • Ctrl+A

  • Ctrl+B

  • Ctrl+C

Explicação

Questão 2 de 22

1

Go forward one character.

Selecione uma das seguintes:

  • Ctrl+F

  • Ctrl+D

  • Ctrl+P

Explicação

Questão 3 de 22

1

Go backward one character.

Selecione uma das seguintes:

  • Ctrl+B

  • Ctrl+K

  • Ctrl+

Explicação

Questão 4 de 22

1

Go forward one word.

Selecione uma das seguintes:

  • Alt+F

  • Alt+Q

  • Alt+Y

Explicação

Questão 5 de 22

1

Go backward one word.

Selecione uma das seguintes:

  • Alt+B

  • Alt+L

  • Alt+S

Explicação

Questão 6 de 22

1

Go to the end of the line.

Selecione uma das seguintes:

  • Ctrl+E

  • Ctrl+H

  • Ctrl+W

Explicação

Questão 7 de 22

1

Clear screen and leave line at the top of the screen.

Selecione uma das seguintes:

  • Ctrl+L

  • Ctrl+X

  • Ctrl+D

Explicação

Questão 8 de 22

1

Delete the current character.

Selecione uma das seguintes:

  • Ctrl+D

  • Ctrl+X

  • Ctrl+K

Explicação

Questão 9 de 22

1

Delete the previous character.

Selecione uma das seguintes:

  • BackSpace

  • Delete

  • Ctrl+X

Explicação

Questão 10 de 22

1

Switch positions of current and previous characters

Selecione uma das seguintes:

  • Ctrl+T

  • Ctrl+C

  • Ctrl+G

Explicação

Questão 11 de 22

1

Switch positions of current and previous words

Selecione uma das seguintes:

  • Alt+T

  • Alt+D

  • Alt+X

Explicação

Questão 12 de 22

1

Change the current word to uppercase.

Selecione uma das seguintes:

  • Alt+U

  • Alt+P

  • Alt+C

Explicação

Questão 13 de 22

1

Change the current word to lowercase.

Selecione uma das seguintes:

  • Alt+L

  • Alt+S

  • Alt+B

Explicação

Questão 14 de 22

1

Change the current word to an initial capital.

Selecione uma das seguintes:

  • Alt+C

  • Alt+B

  • Alt+M

Explicação

Questão 15 de 22

1

Add a special character. For example, to add a Tab
character, press Ctrl+V+Tab.

Selecione uma das seguintes:

  • Ctrl+V

  • Ctrl+O

  • Ctrl+S

Explicação

Questão 16 de 22

1

Cut text to the end of the line.

Selecione uma das seguintes:

  • Ctrl+K

  • Ctrl+E

  • Ctrl+X

Explicação

Questão 17 de 22

1

Cut text to the beginning of the line.

Selecione uma das seguintes:

  • Ctrl+U

  • Ctrl+B

  • Ctrl+X

Explicação

Questão 18 de 22

1

Cut the word located behind the cursor.

Selecione uma das seguintes:

  • Ctrl+W

  • Ctrl+B

  • Ctrl+Z

Explicação

Questão 19 de 22

1

Cut the word following the cursor.

Selecione uma das seguintes:

  • Alt+D

  • Alt+Y

  • Alt+T

Explicação

Questão 20 de 22

1

Paste most recently cut text.

Selecione uma das seguintes:

  • Ctrl+Y

  • Ctrl+P

  • Ctrl+V

Explicação

Questão 21 de 22

1

Rotate back to previously cut text and paste it.

Selecione uma das seguintes:

  • Alt+Y

  • Alt+B

  • Alt+Q

Explicação

Questão 22 de 22

1

Delete the entire line.

Selecione uma das seguintes:

  • Ctrl+C

  • Ctrl+X

  • Ctrl+D

Explicação