LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Upon start up, I am instructed to create a PRINTER environment variable... (https://www.linuxquestions.org/questions/linux-newbie-8/upon-start-up-i-am-instructed-to-create-a-printer-environment-variable-875363/)

BMan8577 04-16-2011 02:56 PM

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?)

stress_junkie 04-16-2011 03:02 PM

Code:

PRINTER="sales"

BMan8577 04-16-2011 03:10 PM

I give you the credit for the help. Thanks appreciate it.

AnanthaP 04-17-2011 12:00 AM

Quote:

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

PRINTER="sales"
export $PRINTER

OK


All times are GMT -5. The time now is 06:08 AM.