Latest LQ Deal: Latest LQ Deals
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, 02: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, 03:02 PM   #2
Senior Member
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
Old 04-16-2011, 03: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, 12:00 AM   #4
Registered: Jul 2004
Location: Chennai, India
Posts: 930

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

All times are GMT -5. The time now is 03:37 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
Open Source Consulting | Domain Registration