For system, network and cloud administrators

How to extract .rar archives/files in Linux

All over the web, you might encounter some much needed files are archived using RAR, like your Linux course certification files, for example. That’s when, it’s useful to know how to extract them using the proper software.

How to fix “Could not resolve host:; Unknown error”

This can happen after a fresh installation of CentOS. The /etc/resolv.conf is looking for a DNS that it can use but after a fresh installation, it usually comes empty. So, if the file has no DNS to look after, then it can not resolve hostnames. This should tell you that the current machine is using the wrong DNS server.

How to check installed and used Python version on Linux

How to check Python version on Linux

Knowing which Python version your Linux comes pre-installed with is definitely useful, especially if you’re a system, network admin, developer. Most Linux distributions use multiple Python versions installed on their machine – this being the reason why we’ll learn how to check for Python v2 and v3.

How to view/display Linux version

I came across a lot of situations where I needed to know the exact version of the OS I was using. Mainly, because of the dependencies involved (Python, PHP, MySQL, etc).

So, open up a terminal and use the following commands in order to view the exact version of your Linux operating system.