logging out leaving a command running

Michael T. Richter ttmrichter at gmail.com
Mon Jan 23 06:28:38 UTC 2006


On Sun, 2006-22-01 at 22:57 -0700, jim barnes wrote:
> From man bash:
> If a command is terminated by the control operator &, the shell executes the 
> command in the background in a subshell. The shell does not wait for the 
> command to finish, and the return status is 0

> script &
> exit

> That's all!

Have you tried anything like that ever?  Try something that will take a
long time to run -- a "find / &", say, and then exit.  Keep an eye on
running processes.  (You can do it all in one terminal window by using
tabs.)

--
Michael T. Richter
Email: ttmrichter at gmail.com, mtr1966 at hotpop.com
MSN: ttmrichter at hotmail.com, mtr1966 at hotmail.com; YIM:
michael_richter_1966; AIM: YanJiahua1966; ICQ: 241960658; Jabber:
mtr1966 at jabber.cn
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20060123/0f5d5171/attachment.sig>


More information about the ubuntu-users mailing list