LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 10-21-2004, 06:54 PM   #1
sen3789
LQ Newbie
 
Registered: Oct 2004
Posts: 1

Rep: Reputation: 0
Using Ndiswrapper


When you install ndiswrapper from the rpm where can you find the directory for the program?
 
Old 10-22-2004, 12:44 AM   #2
spurious
Member
 
Registered: Apr 2003
Location: Vancouver, BC
Distribution: Slackware, Ubuntu
Posts: 558

Rep: Reputation: 31
Do: sudo updatedb; locate ndiswrapper | less
 
Old 10-22-2004, 05:42 AM   #3
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Great concise answer posted by spurious.

But I'll go one better.

Try this instead which will only lists files in the package.


rpm -ql `rpm -qa | grep ndiswrapper` | more


Explanation for newbies or those curious:

the rpm -qa command lists ALL installed rpm's and passes the result to grep.

Grep is used to find the name of the file that matches the partial name "ndiswrapper".

This returns the WHOLE name of the RPM to the outer "rpm -ql" command which in turn queries the found rpm for a LISTING of it's contents from the RPM database.

The result of all of this is passed to the more command so you see only one screenfull at a time.

So that one rather small line performs a rather powerful search transferring results from one program to another while returning only the files you are looking for.
 
  


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
Trying to load module "ndiswrapper" with modprobe; modprobe ndiswrapper doesn't work! Benjamin Linux - Wireless Networking 30 05-25-2008 07:04 AM
ndiswrapper ms-x Linux - Software 5 08-11-2005 01:19 PM
ndiswrapper? heineken Mandriva 1 07-31-2005 05:01 PM
Ndiswrapper rmdnet Linux - Software 1 12-21-2004 02:48 PM
ndiswrapper in FC 2? blcvegas Fedora 4 06-06-2004 12:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 11:41 PM.

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
Open Source Consulting | Domain Registration