Hi, Am Tue, 2 Oct 2007 16:28:49 +0200 schrieb Michelle Konzack <[EMAIL PROTECTED]>:
> Am 2007-10-01 11:39:49, schrieb Billy N. Patton: .... > > #!/bin/sh > > > > exec >$HOME/.xsession.$DISPLAY 2>&1 > > .... > But anyway, why do you execute your $HOME/.xsession.$DISPLAY? > They sould be sourced if called from a shell script. > exec with redirect and no other command redirects all further output of the script - often handy for logging and stuff like this - so $HOME/.xsession.$DISPLAY is his logfile... > And at all, all "exec" are not needed in the shell script. > uhm, not sure - but you can save some processes if your script starts a long running process as last command - like .xsession and the windowmanager. Without an exec your "bash .xsession" appears also in the processlist... > Thanks, Greetings and nice Day > Michelle Konzack > Tamay Dogan Network > Regards, Matthias
