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

Re: Shell-Feinheiten mit which, type und kill



Moin,

Martin Steigerwald schrieb am 06. Feb um 12:43 Uhr:
> Am Montag, 6. Februar 2017, 11:45:36 CET schrieb Christian Knoke:

> > 3. Lässt sich das in die bash eingebaute kill abschalten?
> 
> martin@merkaba:~ -> type kill
> kill ist eine von der Shell mitgelieferte Funktion.
> martin@merkaba:~ -> kill -l | head -2
>  1) SIGHUP       2) SIGINT       3) SIGQUIT      4) SIGILL       5) SIGTRAP
>  6) SIGABRT      7) SIGBUS       8) SIGFPE       9) SIGKILL     10) SIGUSR1

das ist jetzt aber die z-shell, die du installiert hast.

> martin@merkaba:~ -> alias kill=/bin/kill

ja, dass ist wohl dass, was  sich geändert hat, vllcht war der alias in den
rc

:~$ type -a kill
kill ist ein Alias von `/bin/kill'.
kill ist eine von der Shell mitgelieferte Funktion.
kill ist /bin/kill

> Möglicherweise gibt es da aber auch etwas Eleganteres wie eine Shell-Option.

das passt schon

Danke und

Gruß
Christian

-- 
Christian Knoke            * * *            http://cknoke.de
* * * * * * * * *  Ceterum censeo Microsoft esse dividendum.


Reply to: