LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Closed Thread
  Search this Thread
Old 10-17-2005, 02:31 AM   #1
happy_maoron
LQ Newbie
 
Registered: Oct 2005
Posts: 7

Rep: Reputation: 0
How to set environment variable when can't save changes into disk?


Does annybody knows an easy way to set environment variable when I can't save changes into hard disk?

I start linux from live-CD of LFS, so I can't save changes when modifing

an evironment variable. Now I know I can use command 'export' to modify an

environment variable from shell, but I can't write it into a script file, and I

must type such command a lot of times when I reboot by computer to set all of my environment variables.
(When I run the script containing command 'export PATH=/bin', the environment

variable PATH will not be set appropriately)

thanks
 
Old 10-17-2005, 03:01 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

http://www.linuxquestions.org/rules.php
 
  


Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to set environment variable pranith Linux - Newbie 1 01-27-2005 11:23 PM
How to set a value of environment variable? ukrainet Linux - Newbie 1 12-28-2004 04:33 AM
set environment variable Jongi Linux - Newbie 7 03-01-2004 04:34 AM
Set Environment Variable lloyd_stevens Linux - Software 1 07-30-2003 12:38 PM
how do you set the environment variable CC? mr.moto Linux - General 0 12-17-2001 09:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration