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:
3170
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:
Prepare a menu driven calculator
How would you know machine’s name in the network?
Display information about computer system - uname
For joining the line
Remove a directory - rmdir
Shell script which would Receive the log name during execution ,obtain information about it from /etc/passswd and display this information on screen
Overview of UNIX
Write a shell program to exchange the values of two variables
Program to perform all SUBTRACTION on two operands : (decimal, binary, octal,hexadecimal)
Combine two files to a single file
write a script to delete zero sized files from a given directory (and all its subdirectories)
Shell script to perform operations like display, list, make directory and copy, rename, delete, edit file
Count no.of character in file abc?
Write a shell script to ask your name, program name and enrolement number and print it on the screen.
Shell script to perform database operations for student data like view, add and delete records
Display information about all the current programs running
Shell script to display time in word
Rename a file from first1.txt to first2.txt
Write a shell script to sort the given numbers in descending order using Bubble sort
Moving the text in unix
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