3

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?

Jorge Castro
  • 71,754
SoCalDiegoRob
  • 611
  • 1
  • 7
  • 17
  • 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 08:01

1 Answers1

4

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

ignis
  • 4,197