LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   Help me to understand this command: find...| grep -e ... | xargs rm -f (https://www.linuxquestions.org/questions/red-hat-31/help-me-to-understand-this-command-find-%7C-grep-e-%7C-xargs-rm-f-415273/)

ROBERT483599 02-14-2006 07:41 AM

Help me to understand this command: find...| grep -e ... | xargs rm -f
 
Hi,

can anyone help me to understand this command?

find $RPM_BUILD_ROOT | grep -e "\\.la$" | xargs rm -f

I have a clue it has to find files SOMEWHERE containing
.la suffix, exclude the rest and delete them.

Please, give me more specific explanation of this.

Thank you.

_KDF 02-14-2006 07:55 AM

Read up on regular expressions, will help you understand this and future commands like this !

ROBERT483599 02-14-2006 08:21 AM

Hi,

thanks for concern. I have tens of windows on with Linux help pages however some of the descriptions / explanations are hard to crack.
I am learning to understand it and thought that off-book explanation is better for me to get into my brain-cells.


All times are GMT -5. The time now is 10:08 AM.