peasthope@shaw.ca wrote:
> I've tried to combine on one line and neither of these works.
> $ nohup xmonad </dev/null >> ~/.xsession-errors 2>&1 & ; disown
> $ nohup xmonad </dev/null >> ~/.xsession-errors 2>&1 & \; disown
> Someone please give a correct syntax.
Try it without the extra ';' there.
$ nohup xmonad </dev/null >> ~/.xsession-errors 2>&1 & disown
man bash
Lists
A list is a sequence of one or more pipelines separated by one
of the operators ;, &, &&, or ||, and optionally terminated by
one of ;, &, or <newline>.
The '&' and ';' occupy the same position in the command list. It is
one or the other but not both.
Bob
Attachment:
signature.asc
Description: Digital signature