bionicblakey
asked on
want to start my program in the background.
i know how to start a program..
i just ssh in and go to the that directory and type ./start.sh
however, i need this program to run in the background b/c
when i killed my telnet program, i want this program continue to run.
what should i do??
i just ssh in and go to the that directory and type ./start.sh
however, i need this program to run in the background b/c
when i killed my telnet program, i want this program continue to run.
what should i do??
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
addition to yuzh's answer:
you can use some extra strings when you backgrounded your program to not to fill your login window with error or output messages from the program that you are running:
nohup /path-to/program 2>/dev/null 1>/dev/null&
2 and 1 are meaning that pipe the output and error messages to /dev/null
you can use some extra strings when you backgrounded your program to not to fill your login window with error or output messages from the program that you are running:
nohup /path-to/program 2>/dev/null 1>/dev/null&
2 and 1 are meaning that pipe the output and error messages to /dev/null
nohup /path-to/program &
man nohup
Or use the "screen" program to do the job, have a look at the following page for more
details: (you can download screen for your version of OS)
http://www.gnu.org/software/screen/