HELP!! how to set enviroment variable? how to set path?

  • imlq
  • Born
  • Born
  • imlq
  • Posts: 4

Post 3+ Months Ago

OS: redhat 8

I am a newcomer.
how to set enviroment variable?
how to set path?
  • Bigwebmaster
  • Site Admin
  • Site Admin
  • User avatar
  • Posts: 9092
  • Loc: Seattle, WA & Phoenix, AZ

Post 3+ Months Ago

First to see your environment variables type this in a command console:

env

To set an environment variable type the following:

yourvar=somevalue; export yourvar;

so to set path you would type something like:

PATH=/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/admin/bin; export PATH;

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 55 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.