Security, PKI, sys and network admins

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

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.