Jump to content

Execute in Background

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
2 replies to this topic

#1
Prog

Prog

    Learning Programmer

  • Members
  • PipPipPip
  • 98 posts
In SSH or the terminal is it possible to execute a program in the background? For instance:


$ updatedb


Which ties up your terminal for 10-20 minutes. Is it possible to do this in the background and still be able to use the terminal?

#2
Guest_Jordan_*

Guest_Jordan_*
  • Guests
Use the & key. Example:

$ updatedb&

This will execute the process in the background and send messages to your terminal.

#3
Prog

Prog

    Learning Programmer

  • Members
  • PipPipPip
  • 98 posts
So the & forks it, so to say, and makes it a new process?