I have written a program which I run after connecting to the box over SSH. It has some user interaction such as selecting options after being prompted, and usually I wait for the processes it carries out to finish before logging out which closes the terminal and ends the program. But now the process is quite lengthy and I don’t want to wait whilst being logged in, so how could I implement a workaround for this in C please?
Share
You can run a program in the background by following the command with “&”
Or, you could use the “screen” program, that allows you to attach-deattach sessions
http://linux.die.net/man/1/screen