0

a simple question to one who knows...

I want to run a program in a Linux shell (ssh2) I run the program with '&' so it should run on the background

But when I end the session , the program aborts.

How can I make the program run until finished and be able to fg it when I reconnect ?

1

1 Answer 1

6

Prefix the command with nohup to keep it from terminating.

To resume the program, run the program within a screen session.

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.