• Rob's side project: I recently started Gun-Forums.com and we currently have a $100 raffle - if you're into guns, join up and enter the raffle to win $100.00. Gun Forums

QUERY: nohup background & relogin recover process

A

andwan0

Guest
I know about nohup & to run a job in background. But there's a feature in Midnight Commander which you can start a large folder/file copy in background. What happens if I quit Midnight Commander, will that copy job still be running in background?

Also, if I ran nohup mc &
to run Midnight Commander with no hang up, how can I put it in background and foreground? What if I quit my terminal session then ssh log back in again, how can I get that same Midnight Commander process into foreground?
 


O

old_bolvan

Guest
What happens if I quit Midnight Commander, will that copy job still be running in background?
Yes. But mc can remain in memory after jobs finished.
What if I quit my terminal session then ssh log back in again, how can I get that same Midnight Commander process into foreground?
Use dtach (http://dtach.sf.net/)
 


Members online


Latest posts

Top