what is the command to uninstall processes in linux?
Answers were Sorted based on User's Feedback
Answer / rallapalli
Uninstall processes means to kill the processes. I think u
have confused.
#kill -9 <pid>
pid: process id
#pkill <command name>
| Is This Answer Correct ? | 55 Yes | 9 No |
Answer / khushiram
first find which package you want unistall
than rpm -e sendmail* (this is the package name)
or
yum e sendmail* (than package name)
| Is This Answer Correct ? | 38 Yes | 18 No |
Answer / venkat
if u r using rhel4
use this command
rpm -e packagename*
if u r using rhel5
use this command
yum remove packagename* -y
| Is This Answer Correct ? | 14 Yes | 4 No |
Answer / kuppusamy
Through using kill command one can terminate the process
which is running in linux.
One more command also there pkill there.
The main diffference is in kill you have to mention process
ID. In pkill you have to mention the process name.
| Is This Answer Correct ? | 8 Yes | 0 No |
Hi Rudra85, Your question was not clear. Try to furnishing as per my assumption.
If your looking for stop/kill the process then:
1) 1st you need to find the process PID
# ps -aux | grep <Process name>
Example:
# ps -aux | grep ssh
The OUTPUT as follows
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.1 2160 636 ? Ss Jan30 0:25 init [3]
root 2 0.0 0.0 0 0 ? S< Jan30 0:00 [migration/0]
2) # kill -9 <PID>
Example: kill -9 1
Incase your looking for uninstall the package then follow below steps:
1) # rpm -qa | less [Display all installed packages]
# yum -y remove <package>
(OR)
# rpm -e <Package>
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / ratheesh
#rpm -e package name*
# yum remove package name*
| Is This Answer Correct ? | 4 Yes | 3 No |
Answer / ravi
yum remove <packagename>* -y
eg:yum remove sendmail* -y
y means with yes confirmation
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / sachin tendulkar
# rpm rm -rf package name*
# yum remove package name*
| Is This Answer Correct ? | 10 Yes | 10 No |
What is ulimit in linux?
What does && mean in bash?
How can we increase disk read performance in single command in Linux operating system?
What is kill 9 in linux?
I have Laptop. I want to assign DHCP ip address, but in my Laptop having Wireless and with wire NIC cards, it is possible to assign reserve ip address for both NIC card, but same host name?
Why ms dos is used?
What is bash history linux?
I want to built a fire wall using iptables. My condition is " inbound to 192.168.0.2 with a port of 80 from 172.168.0.1 should accept"
How do you check which file consuming more space in linux?
what is work of dns
How will retrieves incoming mails from different web sites
What is the use of cp p command?