GoConqr has a new look! Let us know what you think.

Quiz

Command-line editing

Nasir Nawaz 22 questions

Take the quiz

Questions in this quiz (22)

  1. 1This moves the cursor to the beginning of the command line.
    1. ACtrl+A
    2. BCtrl+B
    3. CCtrl+C
  2. 2Go forward one character.
    1. ACtrl+F
    2. BCtrl+D
    3. CCtrl+P
  3. 3Go backward one character.
    1. ACtrl+B
    2. BCtrl+K
    3. CCtrl+
  4. 4Go forward one word.
    1. AAlt+F
    2. BAlt+Q
    3. CAlt+Y
  5. 5Go backward one word.
    1. AAlt+B
    2. BAlt+L
    3. CAlt+S
  6. 6Go to the end of the line.
    1. ACtrl+E
    2. BCtrl+H
    3. CCtrl+W
  7. 7Clear screen and leave line at the top of the screen.
    1. ACtrl+L
    2. BCtrl+X
    3. CCtrl+D
  8. 8Delete the current character.
    1. ACtrl+D
    2. BCtrl+X
    3. CCtrl+K
  9. 9Delete the previous character.
    1. ABackSpace
    2. BDelete
    3. CCtrl+X
  10. 10Switch positions of current and previous characters
    1. ACtrl+T
    2. BCtrl+C
    3. CCtrl+G

Information

Description
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.
Language
English
Views
56
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?