Skip site navigation (1)Skip section navigation (2)
Date:      05 Sep 2001 09:48:23 -0700
From:      Benjamin Hyatt <benski@pacbell.net>
To:        Joel Gudknecht <joel.gudknecht@honeywell.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Aliasing commands
Message-ID:  <999708504.1013.0.camel@localhost.localdomain>
In-Reply-To: <sb95ee3a.050@jmaci.com>
References:  <sb95ee3a.050@jmaci.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?999708504.1013.0.camel>