Does anyone know how to shut down a running program in linux? - Yahoo! Answers
  1. Home >
  2. All Categories >
  3. Computers & Internet >
  4. Software >
  5. Resolved Question
fruitytuttytutty fruitytu...
Member since:
August 03, 2007
Total points:
2607 (Level 4)

Resolved Question

Show me another »

Does anyone know how to shut down a running program in linux?

It won't let me open a program as I closed the tab and the program is still running. Unfortunately, it's not on the screen so I can't close it down. How can I close down a running program in linux?
Unfortunately, shut down is not an option at the moment as it's not my computer and to start up the computer again I will have to enter passwords (which I can't remember).

Please help.
  • 2 years ago
Jessica Queller by Jessica Queller
Member since:
December 16, 2008
Total points:
25275 (Level 7)

Best Answer - Chosen by Asker

Usually, you can stop the program using the "kill" command in the terminal.

http://www.psychocats.net/ubuntu/termina… should help you find the terminal.

Then you can type something like

killall firefox

killall firefox-bin

and that should do it.
  • 2 years ago
Asker's Rating:
1 out of 5
Asker's Comment:
Thanks everyone for your answers!!!

There are currently no comments for this question.

Other Answers (2)

  • jerry t by jerry t
    A Top Contributor is someone who is knowledgeable in a particular category.
    Member since:
    December 30, 2008
    Total points:
    20241 (Level 6)
    Badge Image:
    A Top Contributor is someone who is knowledgeable in a particular category.
    If you go to a terminal and type :
    pgrep program
    replace the word program with the name of the program that will not close. You will see a number as a result of that command. Then again in the terminal type:
    sudo kill number
    in the place of the word number use the number that was the response of the first command. You will have to use your password. This will stop the program.
    If the computer is not yours you should have the owner set up an account for your then you would have your own user name, password and a place to store your files.
    Good luck

    Source(s):

    • 2 years ago
  • † Oh yeah by † Oh yeah
    Member since:
    February 23, 2009
    Total points:
    9227 (Level 5)
    I don't know what Linux distro you are using, but in Ubuntu I just go to System > Administration > System Monitor > Processes

    Look for the program you want to end, highlight it and press End Process.
    • 2 years ago

Answers International

Yahoo! does not evaluate or guarantee the accuracy of any Yahoo! Answers content. Click here for the Full Disclaimer.

Help us improve Yahoo! Answers. Send Feedback