Hello 1 question about close console

sac sac at inf.in
Fri Jun 29 12:32:05 UTC 2007


On 6/25/07, oim <oim37 at 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.


More information about the freebsd-questions mailing list