LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Regex in ls?

[ILUG] Regex in ls?

Colm Buckley colm at tuatha.org
Fri May 12 10:11:49 IST 2006


On 12 May 2006, at 09:59, Declan Moriarty wrote:

> Okay, please, a little twister for you. I installed some 2 gigs of a
> Xilinx package which obviously is only supporting Linux because  
> someone
> twisted their arms. So I get a Xilinx/bin/lin directory with 200 libs
> and half a dozen executables.
>
> Getting this running is the best kept secret in the thing. How can  
> I get
> a listing of that bin/lin subdir _without_ the 200 libs? In other  
> words,
> I want a directory listing of everything _except the .so files.

Find is your friend.

Either "find Xilinx/bin/lin -type f \! -name '*.so' -print " - to  
list all files not called "*.so", or
"fine Xilinx/bin/lin -type f -perm +001 -print" - to list all files  
with the o+x bit set.

	Colm

-- 
Colm Buckley / colm at tuatha.org / +353 87 2469146 / www.colm.buckley.name







More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell