From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Mon, 6 Sep 2004 20:04:26 +0400 From: Maxim Bodynasky To: community@altlinux.ru Subject: Re: [Comm] sudo & poweroff Message-ID: <20040906160426.GA2146@maximbo.istranet.ru> Mail-Followup-To: community@altlinux.ru References: <37829109.20040906162243@ngs.ru> <20040906122036.GA1998@maximbo.istranet.ru> <20040906134132.GI3435@wrars-comp.wrarsdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20040906134132.GI3435@wrars-comp.wrarsdomain> User-Agent: Mutt/1.3.28i Sender: Maxim Bodyansky X-Auth-User: maximbo, whoson: (null) X-BeenThere: community@altlinux.ru X-Mailman-Version: 2.1.5 Precedence: list Reply-To: community@altlinux.ru List-Id: Mailing list for ALT Linux users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Sep 2004 16:04:29 -0000 Archived-At: List-Archive: List-Post: Как-то это было написано Andrey Rahmatullin: > On Mon, Sep 06, 2004 at 04:20:36PM +0400, Maxim Bodynasky wrote: > >ясен пень :-) which - внешняя по отношению к bash(zsh) программа, и о > >его alias'ах знать ничего не знает. > $ which which > which: shell built-in command $ which which /usr/bin/which $ help which bash: help: no help topics match `which'. Try `help help'. $ bash --version GNU bash, version 2.05a.0(1)-release (i386-pc-linux-gnu) Copyright 2001 Free Software Foundation, Inc. $ cat /usr/bin/which #!/bin/bash unalias -a unset -- "$@" &> /dev/null enable -n -- "$@" &> /dev/null type -p "$@" Дистрибьютив старый - Debian Woody с некоторым количеством backport'ов, причём bash в них не входит :-)