How to fix sudo unable to resolve host?

sudo-unable-to-resolve-host-featured-img

If you are getting the error “sudo unable to resolve host [hostname]” when trying to use the sudo command, it means that your system is unable to resolve the hostname of the machine you are currently using. A number of different issues can cause this. Here are a few possible solutions: Check your network connection … Read more

How to view server uptime in Linux?

linux_uptime_featured_img

To view the uptime of a server running Ubuntu, you can use the uptime command. This will show you how long the server has been running and the current system load. Here is an example of how to use the uptime command:  uptime  11:47:42 up 1 day, 19 min,  1 user,  load average: 0.00, 0.00, … Read more

How to restart Ubuntu from terminal?

ubuntu_restart_featured_img

If running Ubuntu on servers, then the only way for most developers to interact and manage it is with the terminal. And for shutting it down and also restarting can be done from the terminal. And these days most of the problems and glitches with our systems are usually fixed with a simple restart hence … Read more

How to choose fastest apt mirrors on Ubuntu?

change_apt_mirrors_featured_img

While updating or downloading applications the download speed can sometimes be really bad. So it is important to select the nearest mirrors of ubuntu so you can enjoy the fastest download speeds. Also some cloud providers like Hetzner, Google Cloud add their own mirrors to the sources list and we face problems while installing many … Read more