Find the answer to your Linux question:
Results 1 to 5 of 5
How do I shut down programs forcefully in linux like I would in windows with ctrl+alt+del then end program in the task manager? Thanks. (I'm using vector linux with icewm)...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux User oosterhouse's Avatar
    Join Date
    Jan 2006
    Location
    Grand Rapids, MI
    Posts
    318

    End tasks in linux like task manager in windows?


    How do I shut down programs forcefully in linux like I would in windows with ctrl+alt+del then end program in the task manager? Thanks.

    (I'm using vector linux with icewm)

  2. #2
    Just Joined!
    Join Date
    Jan 2006
    Posts
    35
    first you use: ps
    this will show you all processess running ("ps | less" if you want to see the results page by page)
    Then you look for the PID of the process you want to terminate.
    After this use: kill pid
    (where PID is the number in the first column of the ps command)


    they explain it here: http://webtools.live2support.com/linux/kill.php

  3. #3
    Linux Guru Cabhan's Avatar
    Join Date
    Jan 2005
    Location
    Seattle, WA, USA
    Posts
    3,252
    'ps' actually only shows you the tasks started in that shell. To see all running tasks, use:
    Code:
    ps aux
    You can then use 'kill PID' or 'killall <process-name>'. Note that the latter will, of course, end all instances of that application.

  4. $spacer_open
    $spacer_close
  5. #4
    Linux User oosterhouse's Avatar
    Join Date
    Jan 2006
    Location
    Grand Rapids, MI
    Posts
    318
    Code:
    [brian@vector~]$ ps
       PID TTY         TIME CMD
      5302  pts/0   00:00:00 bash
      5306  pts/0   00:00:00 ps

  6. #5
    Linux User oosterhouse's Avatar
    Join Date
    Jan 2006
    Location
    Grand Rapids, MI
    Posts
    318
    ps aux worked, thank you.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •