How to close a program from the terminal in ubuntu
- The program name with:
pkill <name_of_program>
- use of program
PID
(process id)- kill it with
kill <PID>
- kill it with
Steps for close program
1. open a Terminal window
2. To view a list of running processes, enter the following text at the prompt and press Enter.
$ ps -A
eg : pkill filezilla - use program name.
To kill a process using its PID, enter the “killall” command (without the quotes) at the prompt, followed by a space, and then the corresponding PID from the generated list. Press Enter.
No comments:
Post a Comment