On Sat, 2008-08-23 at 21:07 -0700, Russell Miller wrote:
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.
---- yeah - it's generally easier to let it complete and then 'mv' it back than to stop it part way.
Craig