How do you delete a line in bash?

Quang Hiếu

New member
How do you delete a line in bash?
Answer
4 Answers
  1. Ctrl + U – clear all the current line from the end to the beginning only if the cursor is at the end of the line. …
  2. Ctrl + K – clear all the current line from the beginning to the end only if the cursor is at the beginning of the line. …
  3. Ctrl + W – clear the previous word in the current line.
 

Tìm kiếm

Back
Top