Another time saving command if you want to clear the entire line on a terminal is Ctrl+K.

Ctrl+K