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:
3686
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:
Write a menu driven shell script for Copy a file, Remove a file, Move a file
Write a shell program to find the position of substring in given string
Write a shell script to reverse a number supplied by a user.
Program to calculate the gross salary
Write a shell script to ask your name, program name and enrolement number and print it on the screen
Write a script to find the value of one number raised to the power of another
Write a shell script, which displays a list of all files in the current directory to which you have read, write and execute permissions
Write a shell script that accepts a string from the terminal and echo suitable message if it doesn’t have at least ten characters
Write a shell program to count the characters, count the lines and the words in a particular file
Display the already mounted file system - mount
Create a directory - mkdir
Prepare a menu driven calculator
Write a menu driven program to display message, user name, terminal name, login date and time
System activity reporter - sar
Filters in unix
Write a shell program to display the alternate digits in a given 7 digit number starting from the first digit
Shell script to check dir directory if it exists then change the path, if not then create dir with that name and also check for file name not exists
Program to perform all SUBTRACTION on two operands : (decimal, binary, octal,hexadecimal)
Print message a shown in description
Change file mode access permission - chmod
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