The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > UNIX Desktop for Dummies Questions & Answers
Google UNIX.COM



Thread: rm command
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #5 (permalink)  
Old 04-14-2008
era era is offline
Herder of Useless Cats
 

Join Date: Mar 2008
Location: /there/is/only/bin/sh
Posts: 3,650
Yes, you are saying "rm *.log and whatever find prints". If you have no *.log files in the current directory then it's harmless, but that's a rather precarious assumption.

Of course, I imagine the "| xargs rm *.log" was just a mistake, and you really meant "| xargs rm"

Last edited by era; 04-14-2008 at 11:26 AM. Reason: Point out extraneous *.log after rm
Reply With Quote