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:
3274
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 to perform string replacement in a file and view the content of file
Write s shell script, which will receive any number of filenames as arguments. The shell script should check whether every argument is a file or a dir
Word Navigation in unix
write a script to delete zero sized files from a given directory (and all its subdirectories)
Change file mode access permission - chmod
Write a shell script to find the sum, the average and the product of the four integers entered
Write a shell script, which will receive any number of filenames as arguments .The shell script should check whether such files already exist.
Write a shell script to reverse a number supplied by a user.
Write a shell script to find the sum, the average and the product of the four integers entered
Concatenate, copy, print files - cat
Shell Script to find out the sum of the given numbers using command line argument
Prepare the marksheet of the student
Rename a file from first1.txt to first2.txt
Remove a directory - rmdir
Display your current working directory
List all files start with a or A
Menu driven program which has the options Contents of etc/passwd, List of the users who have logged in, Present working directory
Shell script to perform operations like compare string, concatenate, find length, occurrence of word in a string and reverse a string
Shell Script to check file is ordinary or not
Write a shell script to find the smallest of three numbers
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