Jump to content

How to run a process in the background via SSH?


lopes_andre

Recommended Posts

You'll want to take a look at the 'screen' command.

 

You basically enter a screen

 

# screen

 

which will create a screen session and give you a prompt, you can then do whatever you like. To detach from the session hit Ctrl-d Ctrl-a, this will take you back to where you where before you entered the screen session.

 

You can then exit from the shell.

 

At any time come back, and type...

 

# screen -d -r

 

to re-attach to your session.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.