Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Environment Settings in scripts 1

Status
Not open for further replies.

SpongeBob1

Programmer
Mar 1, 2002
49
US
Hi,

I am writing a K-shell script, how would I set the Display i.e. setenv DISPLAY from the script.

Thanks.
 

DISPLAY=hostname:0.0
export DISPLAY

#To test
echo $DISPLAY

-Tony
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top