What version of Ubuntu do I have?

Ubuntu is a free, Linux-based open source operating system with a long list of releases. When you first log in to an Ubuntu system, it is always a good idea to check the version of Ubuntu on the machine before you do anything on it. Finding which version of Ubuntu runs on your system may be essential to fix problems or seek installation guides.
In this tutorial, we’ll show you several ways to find your Ubuntu version using the command line or from the graphical interface.

Read moreWhat version of Ubuntu do I have?

How to fix “Directory not empty” when using mv in Linux

mv (or move) is a Unix/Linux command that moves one or many files or directories from one place to another.

mv is usually used for two purposes:

  • It rename a file or folder.
  • It moves group of files to different directory.

mv syntax and usage should be straightforward. However, when you’re learning to use Linux for the first time or when you’ve come to Linux with a solid background in another operating system, you may run into some things that it doesn’t allow.

If you’ve ever received a Directory not empty when trying to move files or directories, then this guide can help you.

Read moreHow to fix “Directory not empty” when using mv in Linux

How to fix “unindent does not match any outer indentation level” indentation error in Python

Fix unindent does not match any outer indentation level

Python is an emerging language in the developer field. It’s great as first language because it’s concise, easy to read, fast enough for most tasks and has a large ecosystem which fits mostly everything from web development to scientific programming.

Back then when I was new to Python, one of the thing that frustrates me the most was IndentationError: unindent does not match any outer indentation level. Look at how it made people pull their hair out :

Fixing this error is easy, and should be easy, but to understand why it happens so that you can write clean, concise, maintainable code requires more reading.

Read moreHow to fix “unindent does not match any outer indentation level” indentation error in Python

How to fix locale.Error: unsupported locale setting in Python

Fix Python locale.error

Python is a popular general purpose programming language that can be used to serve many different use cases. Created by Guido van Rossum with the name inspired from British comedy show Monty Python, it was set out to be straightforward and easy-to-use, emphasized in wp-block-code readability. Python 3 is the latest version of the language and is considered to be the future of Python.

The set up of Python 3 on your Linux machine should be straightforward without any error, but sometimes you will encounter locale.Error: unsupported locale setting – one of the most common problem of Python. This tutorial will show you how to fix it explicitly on Ubuntu 18.04, but the process remains the same for other distro.

Read moreHow to fix locale.Error: unsupported locale setting in Python