From: unruh@invalid.ca   
      
   On 2013-03-15, Daniel47@teranews.com wrote:   
   > Bit Twister wrote:   
   >> On Thu, 14 Mar 2013 22:11:36 +1100, Daniel47@teranews.com wrote:   
   >>>   
   >>> In Linux (as root), I seem to be issuing lots of rm *.*'s and hitting   
   >>> "Y" heaps with the occasional rd (directory). Back in DOS or Win3/95/98,   
   >>> I'd probably have just entered something like "Del *.*" and "job done".   
   >>>   
   >>> Is there something like this for Linux??   
   >>   
   >> Two command line methods follow:   
   >>   
   >> 1 /bin/rm -r whatever_you_did_before   
   >> 2 \rm -r whatever_you_did_before   
   >>   
   >> Reason you have the problem, run the following command:   
   >> type rm   
   >> and run this command   
   >> man rm   
   >>   
   >   
   > O.K., so when I enter "type rm", I'm told that rm is aliased as "rm -i"   
   > (so that's what Jim Kerr was talking about, and what Chris Johnson is   
   > arguing against) which is telling Linux that I want to reply to each and   
   > every directory/file removal.   
   >   
   > rm -r or rm -R or rm -f would remove directories and files recursively.   
   > (cut and paste into my "useful Linux Commands" file!!)   
      
   No. rm -r wil remove them recursively. rm -f will force removal without   
   asking for permission.   
   YOu were told to do   
   man rm   
   you have not done so. Do so.   
      
   >   
   > Right??   
   >   
   > Daniel   
   >   
   >   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|