From: | "Jesús Guerrero" <6thpink@×××××.es> | ||
---|---|---|---|
To: | Gentoo User <gentoo-user@l.g.o> | ||
Subject: | Re: [gentoo-user] Test for X from cli | ||
Date: | Tue, 01 Aug 2006 20:49:49 | ||
Message-Id: | 200608012245.27008.6thpink@terra.es | ||
In Reply to: | [gentoo-user] Test for X from cli by "John J. Foster" |
1 | El Martes, 1 de Agosto de 2006 21:20, John J. Foster escribió: |
2 | > Good afternoon, |
3 | > |
4 | > In a bash script, how can I test whether the script itself is being |
5 | > run from a virtual terminal, or from an emulator like konsole within X? |
6 | > |
7 | > Thanks, |
8 | > festus |
9 | |
10 | If you need more concrete info, $TERM is also your friend. |
11 | |
12 | -- |
13 | gentoo-user@g.o mailing list |