How do I clear/delete the current line in terminal?

Fragen & AntwortenKategorie: QuestionsHow do I clear/delete the current line in terminal?
kargware Mitarbeiter asked 2 Jahren ago

If I’m using terminal and typing in a line of text for a command, is there a hotkey or any way to clear/delete that line?

1 Antworten
kargware Mitarbeiter answered 2 Jahren ago

* You can use `Ctrl+U` to clear up to the beginning.
* You can use `Ctrl+W` to delete just a word.

[stackoverflow.com](https://stackoverflow.com/questions/9679776/how-do-i-clear-delete-the-current-line-in-terminal)