0

Yesterday I installed Ubuntu 16.10 (Unity) alongside Windows 10 which was already installed.

I found myself using a terminal a lot, but there is something which kinda bugs me: even if no command is running, if I'm logged in as root (I mean after typing sudo su and then my password) when I want to close the terminal it will prompt me with this

How can I close it without that message popping up? I want it to pop up only if the terminal is executing some command.

2
  • Well it is saying that message because sudo su is a process, so I don't know! Feb 4, 2017 at 12:55
  • 2
    It is executing a command sudo su so its supposed to ask before closing the terminal. Don't wan to see it then do exit then close terminal. Feb 4, 2017 at 12:59

1 Answer 1

3

Something is running. su is running. You can verify if you have a clean terminal with everything closed by typing exit at the prompt.

If you exit out of su, then you can close it without getting the process running on this terminal, prompt.

If a process is running, just keep executing exit until all the processes are closed.

1
  • Thanks I had no idea it was identifiable as a process Feb 4, 2017 at 17:59

Not the answer you're looking for? Browse other questions tagged .