Was'n das?
Juergen Mengeling
juergen.mengeling at dts.de
Tue Feb 15 12:07:20 CET 2000
Andre Landwehr wrote:
>
> On Tue, Feb 15, 2000 at 11:50:58AM +0100, Jan-Benedict Glaw wrote:
> > Kann mir jemand 'was dazu sagen?
> >
> > belgarath:/bin # which ps
> > /bin/ps
> > belgarath:/bin # ps
> > bash: /bin/ps: No such file or directory
> > belgarath:/bin # strace ps
> > execve("/bin/ps", ["ps"], [/* 51 vars */]) = 0
> > strace: exec: No such file or directory
> >
> > Partition zerhackt?
>
> ausloggen, einloggen, gucken ob wieder geht. Hab ich bei
> Systemkommandos schon häufiger gehabt. Wenn ich irgendwas aus
> /usr/bin deinstalliert und in /usr/local/bin wieder installiert
> hab, dann hat er es trotzdem weiter in /usr/bin gesucht, obwohl
> /usr/local/bin sogar weiter vorne im Suchpfad stand. Ausloggen,
> Einloggen hat bei mir immer geholfen.
mal unter hash schauen :
******
sh
hash [ - r ] [ name ... ]
csh
rehash
unhash
hashstat
ksh
hash [ name ... ]
~~~~
DESCRIPTION
/usr/bin/hash
The /usr/bin/hash utility affects the way the current shell
environment remembers the locations of utilities found.
Depending on the arguments specified, it adds utility loca-
tions to its list of remembered locations or it purges the
contents of the list. When no arguments are specified, it
reports on the contents of the list.
Utilities provided as built-ins to the shell are not
reported by hash.
*******
ansonsten mit pfad /bin/ps versuchen
:wq jek
--
Jürgen Mengeling Email: Juergen.Mengeling at dts.de
DTS Medien GmbH, Herford, Deutschland Tel: 05221/101-1060
More information about the Linux
mailing list