Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

This question already has an answer here:

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?

enter image description here

To afraid to try it, cause I don't want to have to start the process all over again...

Has anyone accidentally done it?

share|improve this question

marked as duplicate by Takkat, Warren Hill, Alaa Ali, Eric Carvalho, Luis Sep 27 '13 at 17:45

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1  
If you close the terminal you will kill any processes you started with it. But you can break this link with the disown command see duplicate question. –  Warren Hill Sep 27 '13 at 8:01

1 Answer 1

up vote 3 down vote accepted

No, the Terminal will be closed, then the bash process will terminate (because of SIGHUP), then apt-get will terminate in turn.

share|improve this answer
    
@ingis Thank you for the answer. I have always wondered that... –  SoCalDiegoRob Sep 27 '13 at 7:25

Not the answer you're looking for? Browse other questions tagged or ask your own question.