How to Kill a Job in Unix

The Unix operating system, like any other computer operating system, gives users the ability to run programs in order to accomplish tasks. If a program becomes unruly or starts consuming too much memory, you can "kill" it by running a command in the command line.

Instructions

    • 1

      Log on to your Unix system as a user with root privileges.

    • 2

      Open the command line terminal through a desktop shortcut or through the programs menu.

    • 3

      Type "jobs -l" into the command line (without quotes) and press "Enter." Note the number contained in the brackets next to the job you wish to kill, as you will need this in the next step.

    • 4

      Type "kill -9 %x" (without quotes), where "x" is the number you noted in Step 3. Press the "Enter" key to immediately terminate the job.

Related Searches:

References

Comments

You May Also Like

Related Ads

Featured