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

<pre lang="bash">
Ctrl+K