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?
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.
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"
Summary: I don't do this very often but I'm pretty sure that you'd do two things: - run the process in the background by putting a '&' after it when you start it, for example: myjob & - use the 'nohup' comman...
Summary: Ok, I got a number of workstations using redhat7.1. I want to run a command so when users log out it will execute. (the command I want to add is "lprm -a all") Where are the logout scripts kept? is it...