Re: [SLE] /usr/bin/stat
MaD dUCK wrote:
i cannot find the very useful utility /usr/bin/stat on my new suse 7.0 system. which package does it come with if at all?
The command rpm -qf /usr/bin/stat should tell you the name of the package. Eilert -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Eilert Brinkmann -- Universitaet Bremen -- FB 3, Informatik eilert@informatik.uni-bremen.de - eilert@tzi.org - eilert@linuxfreak.com http://www.informatik.uni-bremen.de/~eilert/
On 20 Jan 2001, Eilert Brinkmann wrote:
MaD dUCK wrote:
i cannot find the very useful utility /usr/bin/stat on my new suse 7.0 system. which package does it come with if at all?
The command
rpm -qf /usr/bin/stat
should tell you the name of the package.
Except that this command only works if the rpm has already been installed. It is of no use if you want to know which package you should install to get a file that you are missing. If you want to know the package of a specific non-installed file, one way of doing it is: 1) Mount disk 1 of the suse distribution. 2) cd into it. 3) zcat ARCHIVES.gz | grep /usr/bin/stat (Just replace the filename with the one you are looking for.) On my box, the result is: ole@linux:/home/7.0 > zcat ARCHIVES.gz | grep /usr/bin/stat ./suse/d2/ghc.rpm: -rwxr-xr-x root root 2472 Sep 23 1999 /usr/bin/stat2resid ./suse/ap1/statseri.rpm: -rwxr-xr-x root root 314452 Sep 21 01:45 /usr/bin/statserial ./suse/ap1/enscript.rpm: -rwxr-xr-x root root 74332 Sep 20 19:25 /usr/bin/states ./suse/beo1/lam.rpm: lrwxrwxrwx root root 22 Sep 20 19:00 /usr/bin/state -> /usr/lib/lam/bin/state ./suse/beo1/stats.rpm: -rwxr-xr-x root root 32944 Sep 21 01:45 /usr/bin/statclient ./suse/beo1/stats.rpm: -rwxr-xr-x root root 45244 Sep 21 01:45 /usr/bin/statserver So the result is that there is no file called /usr/bin/stat in any of the rpms of the SuSE 7.0 dist. Regards Ole -- A LISP programmer knows the value of everything, but the cost of nothing.
participants (2)
-
Eilert Brinkmann
-
Ole Kofoed Hansen