Computing.Net > Forums > Linux > running processes while logged out?

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

running processes while logged out?

Reply to Message Icon

Name: pyron
Date: August 4, 2002 at 11:06:33 Pacific
Comment:

Howdy, I was curious to know if its possible to run processes and continue to run them after logging out of the system? I would like to be able to telnet into my machine, run programs, then close my telnet session and still have the programs running.

Thanks!



Sponsored Link
Ads by Google

Response Number 1
Name: peter4u
Date: August 4, 2002 at 11:52:45 Pacific
Reply:

This is what we have "nohup" for (it stands for no-hang-up)

Use

nohup command_with_all_parameters >myout_file &

as an example:

nohup find / -name "rv*" -print >my_rv &

logout

next time check:
more my_rv


0

Response Number 2
Name: cravinkel
Date: August 5, 2002 at 00:33:24 Pacific
Reply:

another fine way to do that is "screen"
you can run a process within screen, log out, log in again and get the process back to foreground typing "screen -R"


man screen


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: running processes while logged out?

continuing jobs after logging out www.computing.net/answers/linux/continuing-jobs-after-logging-out/22242.html

logging out ? www.computing.net/answers/linux/logging-out-/8480.html

Run process on other tty www.computing.net/answers/linux/run-process-on-other-tty/15343.html