linux Archive

Temporary failure resolving – sudo apt-get update in ubuntu

If you are trying to update ubuntu respository and getting error: W: Failed to fetch  Temporary failure resolving ‘’ just check the DNS. Set the Google DNS ( in /etc/resolvconf/resolv.conf.d/base echo "nameserver" | sudo tee /etc/resolvconf/resolv.conf.d/base > /dev/null then sudo service resolvconf restart After this procedure, I was able to resolve hostnames and sudo

Kill multiple pid with same process

Sometime back I caught up in a situation where I need to kill multiple pid invoked from same process. So, all process have same name Assume, process invoked for “vim” editor. If I have 20 “vim” process running and I want to kill all of them, what’s the best way to do it? #There are multiple ways: