[Top][All Lists]

[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/

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  +

reply via email to

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