How in Linux to run a program separately from the terminal?

How to run from terminal any program (e.g. gedit), so I can continue to work in the terminal or close the terminal, and the program would continue to work
March 19th 20 at 08:43
6 answers
March 19th 20 at 08:45
The ampersand(&) to the end of the row put
March 19th 20 at 08:47
nohup gedit
March 19th 20 at 08:49
  1. team space &
    • the team goes into the background, but those are console commands which expect input can they immediately stopped hanging.
    • commands that write to standard output, can litter in the current console if you have errors at run time
    • fg allows you to pull the last sent to the background command again in the current console (foreground)

  2. as has been mentioned: nohup command space &
    • the ampersand sends the process in background, the console free
    • all command output sent to the file nohup.out in the current directory console

  3. also mentioned: screen team
    • to return to the current console Ctrl-a-d
    • cause running a screen screen-r

- Method 1 is good for graphics programs
- method 2 for processing scripts with a long time of work, but if the script should be killed will have to use the command kill <process number>
- method 3 allows you to conveniently switch between neskolkim running in the background with commands of the type
screen-r <room screen>

In General convenient to use than something like Tilix - all in the mind and at hand.
March 19th 20 at 08:51
using the start button menu, from panels.
how did I not think of - alberto96 commented on March 19th 20 at 08:54
March 19th 20 at 08:53
The name of the program (space) &
thunderbird &
March 19th 20 at 08:55

Find more questions by tags TerminalbashLinux