Can I recover a nano process from a previous terminal?

Posted by davidparks21 on Server Fault See other posts from Server Fault or by davidparks21
Published on 2012-11-30T03:19:29Z Indexed on 2012/11/30 5:07 UTC
Read the original article Hit count: 377

Filed under:
|
|
|

My system crashed while I was in a nano session with unsaved changes.

When I log back in via SSH I see the nano process still running when I do a ps.

davidparks21@devdb1:/opt/frugg_batch$ ps -ef | grep nano
1001     31714 29481  0 18:32 pts/0    00:00:00 nano frugg_batch_processing
1001     31905 31759  0 19:16 pts/1    00:00:00 grep --color=auto nano
davidparks21@devdb1:/opt/frugg_batch$

Is there a way I can bring the nano process back under my control in the new terminal?

Or any way to force it to save remotely (from my new terminal)?

© Server Fault or respective owner

Related posts about linux

Related posts about bash