Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Environment Variable

Status
Not open for further replies.

alanchia

Technical User
Jan 8, 2003
42
SG
hi all,

i could not change the MANPATH using setenv, it writes setenv not found, could anyone help me with this?

thanks
alanchia
 
You're probably not running C shell, so setenv would not work. ps -fp $$ will tell you what shell you are running. If it's Bourne shell (sh) type:

[tt]MANPATH=$MANPATH:/my/new/path
export MANPATH[/tt]

In Korn shell (ksh) you can combine that into one step:

[tt]export MANPATH=$MANPATH:/my/new/path[/tt] Annihilannic.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top