Tutorial :disown a process in ksh


The "disown" command works in bash, but not in ksh.

If I have started a process in ksh, how can I "disown" it, so I can exit my shell. (I know about nohup, but the process has already started!)


ksh93 supports the disown command. Also, some versions of nohup allow you to specify a process id with the -p option, instead of a command.


In ksh just run disown without -h option. That's it.

From the ksh(1) manual:

disown [ job... ]      Causes the shell not to send a HUP signal to each given job, or all active      jobs if job is omitted, when a login shell terminates.  

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »