[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Am I running under X?
From: |
screen-users |
Subject: |
Am I running under X? |
Date: |
Thu, 28 Jul 2005 10:55:03 -0400 (EDT) |
User-agent: |
SquirrelMail/1.4.0 |
How can I tell if I'm running under X in a shell script? If I'm in X, I
want to start screen: screen -m -c /my/config/file. If I'm not under X,
I want to start without the -m. It's an odd google to find the answer to
this question, so your wisdom is appreicated.
-judd maltin
- Am I running under X?,
screen-users <=