<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div><blockquote type="cite">
<span></span><span>The difference I am wondering about is how the command responds to ctrl-c. For me, it looks like it deleted some directories and left others completely untouched. The "*" glob expands to a list of directory names, so I suspect the ctrl-c breaks the command after it finishes on the current filename argument. Thus, I think ctrl-c might not stop "rm -rf /home" until it is done.</span><br>
<span></span></blockquote><div><br></div></div><div>When I get commands like that which I need to terminate, I do:</div><div>ctrl-z </div><div>kill -9 %1<br></div></div></blockquote><div><br></div><div>you mean<br><div>
ctrl-z<br></div></div>
<div>kill -9 %<br><br></div><div>%1 may or may not be the right job <br></div></div></div></div>