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

Re: [GELÖST] bash: ewige Schleife?



* Christian Brabandt [07-11-2008 19:22]:

> chrisbra@ballenstedt:$ tcsh
> ballenstedt:> which true
> /bin/true
> ballenstedt:> fish
> Welcome to fish, the friendly interactive shell
> Type help for instructions on how to use fish
> chrisbra@ballenstedt> type true
> true is /bin/true
> chrisbra@ballenstedt$ ksh
> chrisbra@ballenstedt$ whence -v true
> true is a shell builtin
> chrisbra@ballenstedt$ dash
> chrisbra@ballenstedt$ type true
> true is a shell builtin
> chrisbra@ballenstedt$ zsh
> ballenstedt% whence -v true
> true is a shell builtin
> ballenstedt%

Warum testest du einmal mit 'which' und einmal mit 'type'?
Äpfel und Birnen? ;-)

Bash hast du vergessen:

$ echo $0
/bin/bash
$ which true
/bin/true
$ type true
true is a shell builtin

Gruß Uwe

Attachment: signature.asc
Description: Digital signature


Reply to: