Cancel mv after execution

Russell Miller duskglow at gmail.com
Sun Aug 24 04:07:03 UTC 2008


Adil Drissi wrote:
> Hi,
>
> Is it possible to cancel one command after execution?
> my command was :
> mv includes ../includes
>
> i was in /var/www so if a directory includes already existed in /var it was replaced. 
>
> Thank you
>
>   
It wasn't replaced, it was put inside of it.

You now have a ../includes/includes directory.

Also, to cancel it, you press control and "C" - however, in the case of 
commands such as mv and cp, you'll find the operation half done and will 
usually have to clean up after it.

--Russell
>       
>
>   




More information about the users mailing list