The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
PATH in unix thiyagak85 Shell Programming and Scripting 4 07-07-2008 08:24 AM
How to get the path of a file in UNIX? smr_rashmy UNIX for Dummies Questions & Answers 14 05-14-2008 03:34 AM
missing Path(in UNIX) when i launch a job on to unix machine using windows SSh megastar UNIX for Advanced & Expert Users 1 11-04-2005 04:36 AM
UNIX PATH info required PLEASE HELP (I'm new to unix) akitachi UNIX for Dummies Questions & Answers 1 05-10-2002 11:37 AM
Unix Path Options Shakey21 UNIX for Dummies Questions & Answers 2 11-19-2001 04:26 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #8  
Old 07-06-2008
ffpradella's Avatar
Registered User
 

Join Date: Jun 2008
Location: Sao Paulo - Brazil
Posts: 36
Lightbulb

What do I need to do to the O.S. "re-read" the /etc/profile?
eg... I set some variable using this file and need this file be read again without restarting the OS.

Thanks.
Reply With Quote
Forum Sponsor
  #9  
Old 07-06-2008
Registered User
 

Join Date: Jul 2008
Posts: 53
No.. No need to restart your machine.. It will work in another terminal. Just close the present terminal(console) and open a terminal again.


regards...
Reply With Quote
  #10  
Old 07-07-2008
Registered User
 

Join Date: Mar 2008
Location: Germany
Posts: 23
extend your path-var for this session ?

Quote:
Originally Posted by ffpradella View Post
Just more two questions...

this file can be used to add all variables I need?
Also, how can I set a variable during runtime? eg, I need to set a var during some installation... does it depend of the shell used?

Thanks for clarifications!!!
Hello,

if your requirement is to extend your PATH temporary, you can do it in your current session (shell) with :

PATH = $PATH:/rumtimepath
export PATH

or like :

CLASSPATH = path to your jre environment
export CLASSPATH

Regards
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 09:40 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0