what is the command to uninstall processes in linux?
Answer Posted / venkat palavarapu
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 |
Post New Answer View All Answers
What is grep command?
Write a command that will do the following: -look for all files in the current and subsequent directories with an extension c,v -strip the,v from the result (you can use sed command) -use the result and use a grep command to search for all occurrences of the word orange in the files.
What is the command can be run to remove all the rules in an iptable table?
You want to verify which lines in the file kickoff contain ‘bob’. Which of the following commands will accomplish this?
What does chmod 755 do?
How do you copy in linux terminal?
What are system commands?
Explain the linux directory commands along with the description?
How does diff command work?
You issue the command head * what would the resulting output be?
Explain the linux ‘cd’ command options along with the description?
You wish to print a file ‘draft’ with 60 lines on a page. What command would you use?
How do I change directories in linux command line?
What is difference between sh and bash?
Can I delete .bash history?