Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Jun 2007 18:02:02 +0530
From:      sac <sac@inf.in>
To:        oim <oim37@mail.ru>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Hello 1 question about close console
Message-ID:  <e14997e00706290532g583a1967u5a7083250cf1863e@mail.gmail.com>
In-Reply-To: <E1I2nW5-0009TX-00.oim37-mail-ru@f30.mail.ru>
References:  <E1I2nW5-0009TX-00.oim37-mail-ru@f30.mail.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On 6/25/07, oim <oim37@mail.ru> wrote:
> Hello!
>
> I have a question about this situation.
>
> In home work Pc with FreeBSD Server, real ip and real domain name.
> When i remote connect ssh2 (consose) from my work.. make on server some.. compile program from ports
>
> And some time later i need to close console, but i want, what session not close and compile processing.
>
> If i disconect from console all job stop. How disconect from console and come back to my session?
>

Hi,

The most simplest solution to your problem is to `disown' the process.

For eg:

$ some_process &
$ disown

And if you are using zsh there it is much easier:

$ some_process &!

And when you exit, the processes will not be killed.

Regards,
sac.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e14997e00706290532g583a1967u5a7083250cf1863e>