hi guys,
Just wondering I used to know there is a way to clear one long command in unix which I couldn't find it now. So at the moment i'm using ctrl-C instead which is not ideal.
say :
previous command
master $ cp file123231231 dir12312312
expected command
master $ ls /dir/dir/dir/dir/file
I want to clear the previous command above and replace it by expected command, if we use backspace, sometimes taking too long..
any idea guys?
cheers,
Just wondering I used to know there is a way to clear one long command in unix which I couldn't find it now. So at the moment i'm using ctrl-C instead which is not ideal.
say :
previous command
master $ cp file123231231 dir12312312
expected command
master $ ls /dir/dir/dir/dir/file
I want to clear the previous command above and replace it by expected command, if we use backspace, sometimes taking too long..
any idea guys?
cheers,