On 3/25/11, Patrick Dupre wrote:
> Hello,
>
> When I leave the X session, how can I execute a shell command ?
If you start it with startx, as the subject seems to suggest, then you could do
startx ; your_shell_command
or
startx && your_shell_command
and then your shell command will not be exe
If the command does not require graphics.
./command if the command is in your current directory
/path to command/command if the command is not in your PATH
command if the command is in your PATH
To see your PATH
printenv PATH
On Fri, Mar 25, 2011 at 2:11 PM, Patrick Dupr
Hello,
When I leave the X session, how can I execute a shell command ?
Thank.
--
---
==
Patrick DUPRÉ | |
Department of Chemistry| | Phone: (44)-(0)-1904-434384
The University of York