LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices



Reply
 
Search this Thread
Old 02-14-2006, 08:41 AM   #1
ROBERT483599
LQ Newbie
 
Registered: Feb 2006
Posts: 5

Rep: Reputation: 0
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.
 
Old 02-14-2006, 08:55 AM   #2
_KDF
Member
 
Registered: Oct 2003
Distribution: FC4/5 & RHEL4
Posts: 133

Rep: Reputation: 15
Read up on regular expressions, will help you understand this and future commands like this !
 
Old 02-14-2006, 09:21 AM   #3
ROBERT483599
LQ Newbie
 
Registered: Feb 2006
Posts: 5

Original Poster
Rep: Reputation: 0
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Find/grep command to find matching files, print filename, then print matching content stefanlasiewski Programming 8 12-18-2013 06:36 PM
du on specific files from find command (use xargs?) fireman949 Linux - Software 2 07-10-2005 02:42 AM
copying files and give new unique names to each file by using xargs command gnim66 Programming 6 06-22-2005 09:29 PM
error with find . | xargs cbonar Linux - Newbie 7 12-09-2004 12:22 PM
PHP: what's wrong with this line (shell_exec, find, xargs, grep)? J_Szucs Programming 3 11-19-2003 08:44 PM


All times are GMT -5. The time now is 02:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration