[H-GEN] Some information

Byron Ellacott rodent at homer.humbug.org.au
Sun Oct 12 01:30:44 EDT 1997


On Sat, 11 Oct 1997, Frank Brand wrote:

> Anyone care to enlighten me as to what is the recommended process for
> command direction. Is it more efficient to use say an alias or a
> symbolic link?
based soley on my own thoughts:

if you intend for the command to be used by more than one person, it may
be better to use a symlink.  If it is a personal thing, using an alias
saves you the trouble of deciding where the symlink should go, and
changing $PATH.

An alias allows you to specify options to a command, whereas a symlink
does not.  Hence, if you don't need options, a symlink will suffice, while
being shell independent (imagine a program calling exec() when you used an
alias..)

Byron Ellacott
rodent at homer.humbug.org.au
My worst nightmare came true: ln -sf /usr/bin/pico /usr/bin/vi

----------------------- HUMBUG General List --------------------------------
echo "unsubscribe general" | mail majordomo at humbug.org.au # To Unsubscribe



More information about the General mailing list