screen-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Am I running under X?


From: Andy Goth
Subject: Re: Am I running under X?
Date: Thu, 28 Jul 2005 11:40:59 -0400
User-agent: Mutt/1.2.5.1i

On Thu, Jul 28, 2005 at 10:55:03AM -0400, address@hidden wrote:
> How can I tell if I'm running under X in a shell script?

Check to see if $DISPLAY is set.

-- 
Andy Goth  +  address@hidden  +  http://ioioio.net/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]