Linux question.
Dec. 6th, 2005 05:30 am![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
I'm halfway through making a backup, and my remote terminal window was closed due to a network error (damn windows!)
PS says my backup process is still running, and is waiting for input from me, but I have no idea how to reattach to it, so that I can tell it to continue. Any ideas?
PS says my backup process is still running, and is waiting for input from me, but I have no idea how to reattach to it, so that I can tell it to continue. Any ideas?
no subject
Date: 2005-12-06 03:10 pm (UTC)You might then be able to echo something > /proc/pidnumber/fd/fdnumber, but I don't actually know if that'll work.
no subject
Date: 2005-12-06 08:55 pm (UTC)[stephen@gabriel stephen]$ cat &
[1] 2275
[stephen@gabriel stephen]$ sudo bash -c "echo foo >/proc/2275/fd/0"
foo
So apparently *provided you are root* you can write directly to /proc//fd/0.
Of course, it would have been better to have been using screen(1) or vncserver(1).