Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* built-in commands
@ 1999-10-28  4:00 Claudia Rallo
  1999-10-28  4:00 ` Ken Farmer
  0 siblings, 1 reply; 2+ messages in thread
From: Claudia Rallo @ 1999-10-28  4:00 UTC (permalink / raw)


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

Claudia Rallo




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: built-in commands
  1999-10-28  4:00 built-in commands Claudia Rallo
@ 1999-10-28  4:00 ` Ken Farmer
  0 siblings, 0 replies; 2+ messages in thread
From: Ken Farmer @ 1999-10-28  4:00 UTC (permalink / raw)


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

--







^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-10-28  4:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-10-28  4:00 built-in commands Claudia Rallo
1999-10-28  4:00 ` Ken Farmer

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