Linked Questions

12
votes
3answers
2k views

How to open an application in terminal and detach it? [duplicate]

I opened Cairo-dock in my terminal with: open cairo-dock and that worked but if I close the terminal it goes with it. How can I keep it open regardless of the terminal?
1
vote
2answers
4k views

How to run the Python program in the background in Ubuntu machine? [duplicate]

I am running my Python program from my ubuntu machine as follows - root@dbx1145:/home/david/zookteck# python test.py But if I close my ubuntu machine, then my whole program will get stopped.. Is ...
2
votes
5answers
712 views

How to run application from terminal forever? [duplicate]

I start jenkins web server using command java -jar jenkins.war. It works great. When I close terminal the application stops. How to make it run even if I close terminal session ?
3
votes
2answers
161 views

How to run a program from terminal, which allows to close terminal after the program is open? [duplicate]

Could someone remind me how do I run application through the terminal, which allow me to close the terminal after the program is open. I totally forgot how to do this. Please let me know.
2
votes
1answer
201 views

If I close a terminal does it kill the processes inside of it? [duplicate]

If I am in the middle of using the terminal, say to apt-get something; If I click the x / close button, does the Terminal continue to run in the background? To afraid to try it, cause I don't ...
0
votes
1answer
117 views

How can I keep something running but run other terminal commands? [duplicate]

I'm sure this is a really stupid question and it's probably already been asked a dozen times on this site, and I just don't know which keywords to search. I'm still really new to managing a server and ...
1
vote
1answer
105 views

Preventing applications from being closed on terminal exit [duplicate]

When I close a terminal it closes all programs opened from it. In other Linux packages such as scientific linux using an ampersand prevents this, e.g., emacs file.txt & However, this is not the ...
0
votes
3answers
65 views

How to run a program from the command line and still be able to work on the command line while it runs? [duplicate]

Suppose that I want to run a Java program so I would type java myProgram and then suppose that it prints some output to the screen but takes a few hours to finish running. If I want to keep ...
-1
votes
1answer
59 views

Running a program in background using command-line [duplicate]

How do I run a program in the background from a shell, with the ability to close the shell while leaving the program running which should not disturb the window i am working on? Lets say my UI is ...
29
votes
2answers
26k views

How can I restart compiz from tty? (& Related, how can I set up a fallback WM?)

So I'm testing Natty, and Compiz keeps crashing on me. I expect this sort of thing from alpha software, of course, but it doesn't always give me the option to restart compiz, and for some reason ...
26
votes
4answers
13k views

How to run a script when a specific flash-drive is mounted?

Is there a way to run a script when a particular USB device is mounted? I keep my videos on a separate USB and would like to run a script that would mount the video folder on the USB device to the ...
5
votes
2answers
13k views

How do I port a FreeBSD daemon to Ubuntu?

I had a FreeBSD machine and it had a /usr/sbin/daemon command which could run my program in the background. The question is how to do something similar in Ubuntu? I would like something I can put ...
5
votes
3answers
7k views

Move running program to background in bash

If I'm running a program in bash, I can suspend it by pressing Ctrl+Z. If I want to leave the program running, I can then use the bg command. Is there some way to directly put the program in the ...
2
votes
4answers
157 views

What is a background process?

I have always heard about background (but not desktop background) processes. But I do not understand what they really are. As an example, please look at the answer of this link what is technical ...

15 30 50 per page