Welcome -
Guest!
Login
/
Register Now
|
Search:
Home
Articles
Forum
Interview FAQ
Activities
News
Videos
Poll
Links
People
Groups
Unix / Linux / Ubuntu Articles
Submit Article
Home
»
Articles
»
Unix / Linux / Ubuntu
»
Commands
RSS Feeds
Terminate a process - kill
Posted By:
Cameron Evans
Category:
Unix / Linux / Ubuntu
Views:
3577
This article explains about kill command with an example in unix.
kill command is used to Send a signal to a process to terminate a process in unix.
Syntax of kill Command
kill [- options] pid
Example of kill Command
Example 1 : To terminate process id 10
kill 10
Share:
Previous Post:
Report process status - ps
Next Post:
Collect system diagnostic message to from error log - dmesg
Didn't find what you were looking for? Find more on
Terminate a process - kill
Or get
search suggestion and latest updates
.
Cameron Evans
author of Terminate a process - kill is from London,
United Kingdom
.
View All Articles
Related Articles and Code:
Kill Excel Process Explicitly
Program to print WORDPROCESSING as WORD PROCESSING, WORD, PROCESSING, W.P.
Program to create processes using fork() and check different states for orphan process
Program to create processes using fork() and check different states of zombie process
Program to find process id and parent process id
Program to create user defined fork function and create 2 child process, print their process ids
Program to fork a child and print the process id of parent and child process
Program to simulate process synchronization, call wait function so that the executing process gets blocked and then print their process ids
Program that reads a string of characters terminated by CR and display it in reverse order.......
PROGRAM TO FIND CORRELATION BETWEEN TWO DATA SETS DEFINED NUMBER OF PROCESSES
Program to compute sum of an array using parallel processing
Program to copy array elements in another array using parallel processing
Program to find sum, average and deviation of input numbers using parallel processing
Program to create processes using fork() and check orphan state
Program to create processes using fork() and check zombie state
Sum of numbers from 1 to 10, by dividing the job into two processes
Sum of numbers from 1 to 10, by dividing the job into two processes
Program to add 4 integer values using 2 processes
Program to copy elements of one array to another for n number of processes
Program to copy elements of one array to another for n number of processes
Other Interesting Articles in Unix / Linux / Ubuntu:
Shell script that prints names of all sub-directories present in the current directory
Write a script to count and report the number of entries in each subdirectory mentioned in the path, which is supplied as a command-line argument
Write a script to find the value of one number raised to the power of another
Write a shell program to exchange the values of two variables
Display information about all the current programs running
Write a shell program to find the sum of the series sum=1+1/2+...+1/n
Program to perform all ADDITION on two operands : (decimal, binary, octal,hexadecimal)
Which command given information of present working directory?
Change a permission of a file
How to change permission of file as 644?
Write a shell program to check whether a given string is palindrome or not.
Count no.of words in file abc?
Filters in unix
Find all lines in a file with words longer than 4 characters, assuming that words are separated by spaces except at the beginning or end of line
Shell Script to read data from a file
Program to perform all SUBTRACTION on two operands : (decimal, binary, octal,hexadecimal)
Shell script to display the name of those files (in the given directory) which are having multiple links
Write a shell scripts which works similar to the Unix commands Head Tail
Create a directory - mkdir
Write a shell program to add, subtract and multiply the 2 given numbers passed as command line arguments
Please enter your Comment
*
*
Comment should be atleast 30 Characters.
Please put code inside [Code] your code [/Code].
Please login to post comment
No Comment Found, Be the First to post comment!
Unix / Linux / Ubuntu
View All
Advance
Basics
Commands
Homework Help
Interview FAQ
Terms and Terminology
Assembly Language
Artificial Intelligence
C Programming
C++ Programming
Visual C++
OOAD
Cobol
Java
SQL Server
Asp.net MVC
Rest and WCF Services
Entity Framework
Knockout.Js
Networking
OOPs Concept
HTML
Dos
SQL
System Analysis & Design
Gadgets
Internet
CSS
Javascript
.Net Framework
Asp.net
C#
VB.Net
Python
Perl
Oracle
Software Engineering
RDBMS Terms
AJAX Framework
Design Pattern
UML
WPF
WCF
SEO
PowerShell
Visual Studio
WWF
BizTalk Server
Azure
General
Testing
Online Certifications
PHP
My SQL
LinQ
Project Management
Silverlight
XML
MS Office
Windows OS
DHTML
Sharepoint