Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Ken Farmer <kfarmer@farmer.org>
Subject: Re: built-in commands
Date: 1999/10/28	[thread overview]
Message-ID: <815A0121CF4FE9EA.89CDFB77A804C4E2.2FADF54AD837A156@lp.airnews.net> (raw)
In-Reply-To: 3818A188.494F5A40@iigb.na.cnr.it

As root type at prompt:

# echo $PATH

you should see something like:

/sbin:/usr/bin:/usr/local/bin

either edit your /.profile to include path to command like:

PATH=/sbin:/usr/bin:/usr/local/bin:/path/to/command

replace "/path/to/command" with path to the new command (not the command
name itself) or create a link in a directory already in your path:

# ln -s /path/and/command /usr/local/bin/command

replace "/path/and/command" with path and the new command (including
command name), type:

# . /.profile

this will re-read your $PATH, you should be able to use new command now
that it is in command path.  Repeat this process for users, except use
their own home directories and .profile's.

Of coarse there are several other ways to do this.

Ken

W W W . T R U 6 4 . O R G
Ken Farmer, kfarmer@tru64.org

Claudia Rallo wrote:

> In which way I define a new Built-in command on the osf4???
>
> Claudia Rallo

--







      reply	other threads:[~1999-10-28  4:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-10-28  4:00 built-in commands Claudia Rallo
1999-10-28  4:00 ` Ken Farmer [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox