Re: Pakete und Programmauffruf
Am 2006-01-13 13:46:22, schrieb Joerg Sommer:
> Hallo Gerhard,
>
> Gerhard Wolfstieg <gw@wolfstieg.com> wrote:
> > Hallo,
> >
> > manchmal wird es mir zu bunt. Aus bestimmten Gründen wollte ich mir
> > 3dchess anschauen. Habe das Paket installiert, 3dchess eingegeben =>
> > denkste, gibt's nicht, man 3dchess gibt's nicht, locate 3dchess kann
> > noch nicht tun, updatedb als root, nochmals locate 3dchess: nichts was
> > auf ein binary hindeutet. Irgendwann stellt sich heraus: "3Dc" isses.
> >
> > PS: Gibt es einen Standardweg, so etwas schnell zu lösen? ... war
> > nicht das erste Mal!
>
> dpkg -S 3dchess | grep /bin/ bzw. für dich wäre wohl /usr/games noch
----8<------------------------------------------------------
#!/bin/bash
#
# Scriptname: findbin
if [ "$1" != "" ] ; then
dpkg --listfiles $1 |egrep "bin/|games/"
else
echo $"Please provide a package name as parameter."
fi
----8<------------------------------------------------------
Greetings
Michelle Konzack
Systemadministrator
Tamay Dogan Network
Debian GNU/Linux Consultant
--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack Apt. 917 ICQ #328449886
50, rue de Soultz MSM LinuxMichi
0033/3/88452356 67100 Strasbourg/France IRC #Debian (irc.icq.com)
Reply to: