On Fri, May 12, 2006 at 09:59:32AM +0100, 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.
>> Pipes to grep -v and grep --exclude seem to behave strangely. Maybe it's
> just early morning.
Not exactly ls but:
find -not -name '*.so'
For more info:
find -not -name '*.so' -ls
If you need specific output you can use -printf.
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!