This is some useful trick to kill task in Ubuntu (draft)
- ps and kill
sudo kill -9 pid
With the pid is the number we get from the first line.
- Feel like windows’ task manager:
This will open the system monitor tool, there we can view CPU+ Ram information, and a list of running program, kill what you need there by right click and choose End Process or Kill process
Those two methods can come to handy when we’re stuck, for example, in Ubuntu Software Center, that a package is not dpkg completely and the dpkg folder is locked and we can’t install another software due to this (installing apps in Ubuntu is one by one)