Command-line editing

Beschreibung

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.
Nasir Nawaz
Quiz von Nasir Nawaz, aktualisiert more than 1 year ago
Nasir Nawaz
Erstellt von Nasir Nawaz vor fast 8 Jahre
15
0

Zusammenfassung der Ressource

Frage 1

Frage
This moves the cursor to the beginning of the command line.
Antworten
  • Ctrl+A
  • Ctrl+B
  • Ctrl+C

Frage 2

Frage
Go forward one character.
Antworten
  • Ctrl+F
  • Ctrl+D
  • Ctrl+P

Frage 3

Frage
Go backward one character.
Antworten
  • Ctrl+B
  • Ctrl+K
  • Ctrl+

Frage 4

Frage
Go forward one word.
Antworten
  • Alt+F
  • Alt+Q
  • Alt+Y

Frage 5

Frage
Go backward one word.
Antworten
  • Alt+B
  • Alt+L
  • Alt+S

Frage 6

Frage
Go to the end of the line.
Antworten
  • Ctrl+E
  • Ctrl+H
  • Ctrl+W

Frage 7

Frage
Clear screen and leave line at the top of the screen.
Antworten
  • Ctrl+L
  • Ctrl+X
  • Ctrl+D

Frage 8

Frage
Delete the current character.
Antworten
  • Ctrl+D
  • Ctrl+X
  • Ctrl+K

Frage 9

Frage
Delete the previous character.
Antworten
  • BackSpace
  • Delete
  • Ctrl+X

Frage 10

Frage
Switch positions of current and previous characters
Antworten
  • Ctrl+T
  • Ctrl+C
  • Ctrl+G

Frage 11

Frage
Switch positions of current and previous words
Antworten
  • Alt+T
  • Alt+D
  • Alt+X

Frage 12

Frage
Change the current word to uppercase.
Antworten
  • Alt+U
  • Alt+P
  • Alt+C

Frage 13

Frage
Change the current word to lowercase.
Antworten
  • Alt+L
  • Alt+S
  • Alt+B

Frage 14

Frage
Change the current word to an initial capital.
Antworten
  • Alt+C
  • Alt+B
  • Alt+M

Frage 15

Frage
Add a special character. For example, to add a Tab character, press Ctrl+V+Tab.
Antworten
  • Ctrl+V
  • Ctrl+O
  • Ctrl+S

Frage 16

Frage
Cut text to the end of the line.
Antworten
  • Ctrl+K
  • Ctrl+E
  • Ctrl+X

Frage 17

Frage
Cut text to the beginning of the line.
Antworten
  • Ctrl+U
  • Ctrl+B
  • Ctrl+X

Frage 18

Frage
Cut the word located behind the cursor.
Antworten
  • Ctrl+W
  • Ctrl+B
  • Ctrl+Z

Frage 19

Frage
Cut the word following the cursor.
Antworten
  • Alt+D
  • Alt+Y
  • Alt+T

Frage 20

Frage
Paste most recently cut text.
Antworten
  • Ctrl+Y
  • Ctrl+P
  • Ctrl+V

Frage 21

Frage
Rotate back to previously cut text and paste it.
Antworten
  • Alt+Y
  • Alt+B
  • Alt+Q

Frage 22

Frage
Delete the entire line.
Antworten
  • Ctrl+C
  • Ctrl+X
  • Ctrl+D
Zusammenfassung anzeigen Zusammenfassung ausblenden

ähnlicher Inhalt

Common Shell Environment Variables
Nasir Nawaz
Components of An Operating System - Jason Madappattu
Jason EM
Linux - File Permissions
Mitch Isaacs
Linux Programming Interface: Chapter 1
Jon Schipp
RedHat Linux Version 7 System Administration Certification
John Sweet
SISTEMAS OPERATIVOS
Sebastian Molina
BASH
Fen Pin
3. Сокеты Беркли. Мультиплексирование.
Sergei Fomin
Computing
Jak Salad
Linux Programming Interface: Chapter 2
Jon Schipp
Terminal Commands
Cameron James