Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


Closed Thread
  Search this Thread
Old 10-17-2005, 02:31 AM   #1
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)

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

Rep: Reputation: 255Reputation: 255Reputation: 255
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.

Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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? Linux - General 0 12-17-2001 09:17 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:45 PM.

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