[CLUE-Tech] redhat nmap?

Mike Merideth mmerideth at raindance.com
Mon Aug 19 16:58:57 MDT 2002


FYI, you can determine the package that owns a given command on a RedHat (or
other rpm-based) system by executing the following:

rpm -qf `which command`

Where "command" is the name of the command you're looking at.  In your
example, it would be:

rpm -qf `which nmap`

The "rpm -qf" part is an rpm command to show the package ownership of a
given path name.  the "`which nmap`" (note the backticks) part feeds the rpm
command the full pathname to the command.  You can also use the syntax:

rpm -qf /usr/bin/nmap

for example if you know the full path to the file you're querying about; the
"which" bit is just handy if you don't know offhand where a command lives.
Note that you can use "rpm -qf" for any type of file or directory, but
"which" only works for executable commands.

-Mike


-----Original Message-----
From: Jeremiah Stanley [mailto:lists at miah.org] 
Sent: Monday, August 19, 2002 11:52 AM
To: clue-tech at clue.denver.co.us
Subject: Re: [CLUE-Tech] redhat nmap?

On Mon, 2002-08-19 at 11:33, Jason Canney wrote:
> what redhat package does nmap get installed from?  

nmap-2.54BETA31-1
nmap-frontend-2.54BETA31-1

At least this is the case on my RH7.3 machine. RH, to my knowledge,
doesn't package these apps you have to download them from the
insecure.org website. I'm sure they have a newer version out.

http://www.insecure.org/nmap/

Hope that helps you.

Jeremiah Stanley

_______________________________________________
CLUE-Tech mailing list
CLUE-Tech at clue.denver.co.us
http://clue.denver.co.us/mailman/listinfo/clue-tech



More information about the clue-tech mailing list