Home > [ linux commands ] > [ kill process in linux ]

[ kill process in linux ]

How do I kill process in Linux.

::kill command::

1. Use this command.

# ps -ef | grep -i <your-target-process>

OR

# ps aux | grep <your-target-process>

e.g: # ps -ef | grep -i jboss

2. Then, choose your target Process ID

# kill 9821

OR

# kill -9 9821

note: -9 is special Kill signal, which kill the process

3. Done

::killall command::

1. Use this command.

# killall -9 <your-target-process>

e.g: # killall -9 firefox

Categories: [ linux commands ] Tags:
  1. No comments yet.
  1. No trackbacks yet.