From owner-freebsd-questions Wed Sep 5 9:49:59 2001 Delivered-To: freebsd-questions@freebsd.org Received: from topaz.3com.com (topaz.3com.com [192.156.136.158]) by hub.freebsd.org (Postfix) with ESMTP id EBAF837B403 for ; Wed, 5 Sep 2001 09:49:53 -0700 (PDT) Received: from opal.3com.com (opal.3com.com [139.87.50.117]) by topaz.3com.com (Switch-2.1.3/Switch-2.1.0) with ESMTP id f85GlM110454; Wed, 5 Sep 2001 09:47:22 -0700 (PDT) Received: from wsp024895wss.OPS.3Com.COM (wsp024895wss.OPS.3Com.COM [139.87.90.154]) by opal.3com.com (Switch-2.1.3/Switch-2.1.0) with ESMTP id f85Gnqo16882; Wed, 5 Sep 2001 09:49:52 -0700 (PDT) Subject: Re: Aliasing commands From: Benjamin Hyatt To: Joel Gudknecht Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: References: Content-Type: text/plain X-Mailer: Evolution/0.10 (Preview Release) Date: 05 Sep 2001 09:48:23 -0700 Message-Id: <999708504.1013.0.camel@localhost.localdomain> Mime-Version: 1.0 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 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