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:
3646
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 shell script to find sum of digits of a number
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
How would you know machine’s name in the network?
Append abc.txt, xyz .txt
write a script to delete zero sized files from a given directory (and all its subdirectories)
Navigation command in unix
Write a shell script to find the smallest of three numbers
Moving the text in unix
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 menu driven shell script for Copy a file, Remove a file, Move a file
Copy abc.txt into xyz
Write a shell program to convert all the contents into the uppercase in a particular file
Write shell script that takes a file name as an argument and deletes this file from every directory above the pwd
Write a shell script, which reports names and sizes of all files in a directory whose size is exceeding 1000 bytes
Give example of paste command
Copy file and directory subtrees - cp
Removing files and directories - rm
Write a shell program to concatenate the contents of 2 files
Shell script to display the name of those files (in the given directory) which are having multiple links
How to compare two files?
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