[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Installierte Dateien



On Wed, 05 Jul 2006 15:01:06 +0200 Goran <xamiw@arcor.de> wrote:

> Hallo Leute,
> 
> ich habe ein Problem mit der Ausgabe von "dpkg --listfiles
> <Paketname>". Und zwar möchte ich nur die Dateinamen ohne die
> Pfadangabe lesen. Ein Beispiel:
> 
> So war es bisher...
> # dpkg --listfiles mount
> /.
> /bin
> /bin/mount
> /bin/umount
> /sbin
> /sbin/swapon
> /sbin/losetup
> <--Schnipp-->
> 
> So soll es sein...
> # unbekannter Befehl
> mount
> umount
> swapon
> losetu
> <--Schnipp-->

Vielleicht:
dpkg -L <paket> |xargs -n1 basename



Reply to: