From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1PuVBO-0006VW-07 for garchives@archives.gentoo.org; Tue, 01 Mar 2011 19:24:31 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4A8761C090; Tue, 1 Mar 2011 19:23:09 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 19B2D1C090 for ; Tue, 1 Mar 2011 19:23:09 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 97CE31B403D for ; Tue, 1 Mar 2011 19:23:08 +0000 (UTC) X-Virus-Scanned: by amavisd-new using ClamAV at gentoo.org X-Spam-Score: -2.866 X-Spam-Level: X-Spam-Status: No, score=-2.866 required=5.5 tests=[AWL=-0.267, BAYES_00=-2.599] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QzuvrvvBDXnE for ; Tue, 1 Mar 2011 19:23:02 +0000 (UTC) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by smtp.gentoo.org (Postfix) with ESMTP id 076D11B4011 for ; Tue, 1 Mar 2011 19:23:00 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PuV9t-0000lp-TZ for gentoo-user@gentoo.org; Tue, 01 Mar 2011 20:22:57 +0100 Received: from athedsl-373985.home.otenet.gr ([79.131.12.223]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 01 Mar 2011 20:22:57 +0100 Received: from realnc by athedsl-373985.home.otenet.gr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 01 Mar 2011 20:22:57 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Nikos Chantziaras Subject: [gentoo-user] Re: How can I move running proces to background & out of screen? Date: Tue, 01 Mar 2011 21:22:59 +0200 Organization: Lucas Barks Message-ID: References: <4D6D4168.5010500@gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: athedsl-373985.home.otenet.gr User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20110225 Thunderbird/3.1.7 In-Reply-To: <4D6D4168.5010500@gmail.com> X-Archives-Salt: X-Archives-Hash: 43827b0d00e1553a9696f4d87cb490d1 On 03/01/2011 08:56 PM, Jarry wrote: > Hi, > is there any way to move running (already started) process > to background, and disconnect it from screen/terminal > so that I could log off (without terminating the process)? The cleanest way to do this is not with job control but with a tool like "screen". Install it (app-misc/screen) and start programs with it. You also start a shell in screen. For example: screen su - USERNAME Now you can press CTRL+A, D to detach the screen. The programs in it will continue running in the background. To re-attach, type "screen -r". You can read the docs of this tool to learn about all nifty stuff you can do with it, like opening more screen windows from the same screen session and switch between them.