Visit the LQ Articles and Editorials section
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!


  Search this Thread
Old 04-16-2011, 03:56 PM   #1
Registered: Apr 2011
Posts: 73

Rep: Reputation: 0
Lightbulb Upon start up, I am instructed to create a PRINTER environment variable...

I am supposed to create an environment variable with the PRINTER variable, which should resolve to the word sales. Would the command be like this?: env PRINTER - NAME=SALES (is this the command to create that variable with resolving the word sales to it?)
Old 04-16-2011, 04:02 PM   #2
Senior Member
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
Old 04-16-2011, 04:10 PM   #3
Registered: Apr 2011
Posts: 73

Original Poster
Rep: Reputation: 0
I give you the credit for the help. Thanks appreciate it.
Old 04-17-2011, 01:00 AM   #4
Registered: Jul 2004
Location: Chennai, India
Distribution: UBUNTU 5.10 since Jul-18,2006 on Intel 820 DC
Posts: 754

Rep: Reputation: 177Reputation: 177
Upon start up ...
would normally mean within a script. So dont forget to export the PRINTER variable.

export $PRINTER



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
Script query - trying to create a folder with an environment variable BHuckfield Linux - Server 10 05-21-2010 03:42 AM
Cannot start vnc server because the USER environment variable is not set izac5 Linux - Newbie 4 11-21-2009 09:10 PM
Create a custom environment variable that stores hostname Zebe Linux - General 5 09-03-2008 05:14 PM
create new environment variable ctlqt12 Linux - Newbie 5 05-10-2006 05:26 AM
How to create new permanent environment variable in Red hat Linux? halturata Linux - Newbie 2 04-10-2006 11:38 AM

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