On Sat, Apr 28, 2001 at 12:51:59AM +1000, Michael Lake ([EMAIL PROTECTED]) wrote:
> Jobst Schmalenbach wrote:
> > does anybody know which RH rpms contain the files that would

[snip]

> rpm -q -f /bin/ps or bette still.

[snip]

> for i in somelist
>    echo the result of rpm -q -f `which $i`
> fi

Thats a good idea!

I was after a list of the most commonly used files, too, but
I prolly didnt make myself clear enough!


On another note:
The above solution has a little problem (I just realized).
It has a number of assumptions:

 1: it assumes it's at the usual location
 2: it assumes that you PATH environ var is correct
 3: it assumes there is only one of the progies on your system.

I guess my idea of *just* replacing the binaries goes into
the rubbish bin right now.....



jobst




-- 
When the going gets weird, the weird turn pro.

|            __, Jobst Schmalenbach, [EMAIL PROTECTED], Technical Director|
|  _ _.--'-n_/   Barrett Consulting Group P/L & The Meditation Room P/L      |
|-(_)------(_)=  +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia|

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to