3
1
Is there a keyboard shortcut to delete the current command?
Let's say I have:
$ cp /home/one/two/tree/ /var/www/one/two/three
I want to easily the current command, specially when it's long and I had a typo. The up and down history selection doesn't remove the current command at all.
What shell (Bash/ksh/zsh) are you using? – zero2cx – 2012-09-08T05:59:56.463