[linux-l] Re: which

Frank Zimmermann frank.zimmermann.berlin at freenet.de
So Apr 8 15:56:29 CEST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Pascal Volk schrieb:
> Hallo,
> 
> * Am So, 08 Apr 2007 schrub Nico Golde:
>> * Pascal Volk <linux-l at edelhost.de> [2007-04-08 14:45]:
>>> Wenn which nicht in /usr/bin ist, dann [&]
>> Wenn überhaupt ist es nur ein Symlink nach /bin, 
>> normalerweise ist es aber auch ein Shell-builtin, das 
>> verwendet wird.
> 
> Also auf meinem Etch ist es ein Binary in /usr/bin.
>     file `which env`
>     /usr/bin/env: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV),
>     for GNU/Linux 2.&
> 
Also bei mir wird which von den debianutils zur Verfügung gestellt!
frank at defiant:~$ aptitude show debianutils
Paket: debianutils
Essentiell: ja
Zustand: Installiert
Automatisch installiert: nein
Version: 2.17
Priorität: erforderlich
Bereich: utils
Verwalter: Clint Adams <schizo at debian.org>
Unkomprimierte Größe: 205k
Hängt ab (vorher) von: libc6 (>= 2.3.6-6), coreutils (>= 4.5.8-1), mktemp
Kollidiert mit: manpages-fr (<= 0.9.3-1)
Ersetzt: miscutils, cron (<= 3.0pl1-31), tetex-bin (< 1.0.6-1.1),
manpages-fr
         (<= 0.9.3-1), passwd (<= 1:4.0.12-6)
Beschreibung: Miscellaneous utilities specific to Debian
 This package provides a number of small utilities which are used
primarily by
 the installation scripts of Debian packages, although you may use them
 directly.

 The specific utilities included are: installkernel mkboot run-parts savelog
 sensible-browser sensible-editor sensible-pager tempfile which.

Marken: admin::configuring, implemented-in::c, implemented-in::perl,
        interface::commandline, role::program, scope::utility, suite::debian

... und ein file /bin/which ergibt:
/bin/which: Bourne shell script text executable

Gruß Frank



- --
Frank Zimmermann        |
Junker-Jörg-Str. 2      | mail: zimbi_in_berlin at web.de
10318 Berlin            | phone: +49-30-67304676
Germany                 | mobile: +49-1520-6017456
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGGPSNjjP4Q5CsRGgRAt/hAKCjB4yuqUaFLKxcSU0ax7NjKHgwLACghRag
Ja7rqMB46WAtL+vsGMi/F4s=
=4kB4
-----END PGP SIGNATURE-----



Mehr Informationen über die Mailingliste linux-l