From owner-freebsd-questions Thu Sep 6 9:25:15 2001 Delivered-To: freebsd-questions@freebsd.org Received: from web9303.mail.yahoo.com (web9303.mail.yahoo.com [216.136.129.52]) by hub.freebsd.org (Postfix) with SMTP id 7B41037B401 for ; Thu, 6 Sep 2001 09:25:10 -0700 (PDT) Message-ID: <20010906162510.44759.qmail@web9303.mail.yahoo.com> Received: from [199.66.15.252] by web9303.mail.yahoo.com via HTTP; Thu, 06 Sep 2001 09:25:10 PDT Date: Thu, 6 Sep 2001 09:25:10 -0700 (PDT) From: Radhika Sambamurti Subject: Re: Aliasing commands To: freebsd-questions@freebsd.org In-Reply-To: <999708504.1013.0.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I am also running ksh and am having trouble aliasing in my .profile file. the command is : alias ll='ls -l' when i execute the .profile file with . /.profile, it works. If i exit the terminal and restart another shell i get the error when i execute the alias ll /bin/ksh: ll: not found Could this be a PATH issue? I cannot seem to figure it out. Thanks, radhika. --- Benjamin Hyatt wrote: > On 05 Sep 2001 08:49:58 -0500, Joel Gudknecht wrote: > > Hello, > > Which file / location is proper to alias commands? Or > is this shell dependant? > > It is dependant on shell... > > In my example here I am using ksh. > In my home directory I have a .profile > > let's say for example I want an alias for rm, so that > it will request confirmation before deleting ;o) > > alias rm='rm -i' > > . ./.profile > > rm foo > remove foo? > > Hope that helps... > > ./Ben > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message ===== It's all a matter of perspective. You can choose your view by choosing where to stand. --Larry Wall __________________________________________________ Do You Yahoo!? Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger http://im.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message