[jeff@uws7 jeff]$ rpm --version
RPM version 3.0.4
[jeff@uws7 jeff]$ more /etc/redhat-release
Red Hat Linux release 6.2 (Zoot)
[jeff@uws7 jeff]$ which perl
/usr/bin/perl
[jeff@uws7 jeff]$ rpm -qf perl
file perl: No such file or directory
[jeff@uws7 jeff]$ rpm -qf `which perl`
perl-5.00503-10
[jeff@uws7 jeff]$ cd /usr/bin
[jeff@uws7 bin]$ rpm -qf ./perl
perl-5.00503-10
[jeff@migratus rc.d]$ rpm --version
RPM version 3.0.3
jeff@migratus rc.d]$ more /etc/redhat-release
Red Hat Linux release 6.1 (Cartman)
[jeff@migratus rc.d]$ which perl
/usr/bin/perl
[jeff@migratus rc.d]$ rpm -qf perl
file perl: No such file or directory
[jeff@migratus rc.d]$ rpm -qf `which perl`
perl-5.00503-6
[jeff@migratus bin]$ cd /usr/bin
[jeff@migratus bin]$ rpm -qf ./perl
perl-5.00503-6
Ok, I stand partly corrected. BUT I can't find anything in the man page
that say's it will search the PATH, unless there's some option to do that.
At 10:55 PM 7/31/00 -0400, Derek Martin wrote:
>On Mon, 31 Jul 2000, Jeff Macdonald wrote:
>
> > As far as I know, it always needed the full path....
>
>Nope... RH 6.1's version doesn't, and IIRC it's supposed to search your
>path and/or use relative paths.
>
> > >Trying out the Redhat 7.0 beta. Noticed that lpd no longer is in the
> > >"lpr" package so I was trying to find out what it was (so I could
> > >uninstall it). The following occurred:
> > >
> > >[root@(removed) etc]# rpm -qf ./rc.d/init.d/lpd
> > >file /rc.d/init.d/lpd: No such file or directory
> > >[root@(removed) etc]# cd rc.d/init.d
> > >[root@(removed) init.d]# rpm -qf ./lpd
> > >file /lpd: No such file or directory
>
>--
>Derek Martin
>System Administrator
>Mission Critical Linux
>[EMAIL PROTECTED]
----------------------
Jeff Macdonald
Ayer, MA
**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************