- Ubuntu Documentation
- Checking your Ubuntu Version
- In Unity
- In the Terminal
- How to check your Linux version: easy ways to view the distribution and version number
- Linux version: what do the distribution and version number mean?
- Checking the Linux version in the terminal
- Step 1: Distribution version number
- Step 2: Linux kernel version number
- Step 3: View everything at once with Inxi
- How to check Debian version: the quick and easy way
- How to check your Ubuntu version: a guide
- Remove a directory in Linux: a simple guide
- Deleting files in Linux: a how-to guide
- Linux find command: search and find files
- How to Check Your Ubuntu Version
- How to Check Ubuntu Version in Terminal
- Check Ubuntu Version with lsb_release –a Command
- Check Ubuntu Version with cat /etc/lsb-release Command
- Check Ubuntu Version with cat /etc/*release Command
- Check Ubuntu Version with hostnemctl Command
- Check Ubuntu Version from Graphical Interface
Ubuntu Documentation
Checking your Ubuntu Version
There are two ways to check which version of Ubuntu you are running. You can either check from within Unity, or put in a short command line in the Terminal.
In Unity
Unity is the default desktop environment since Ubuntu 11.04 (Natty Narwhal). Please note that this method will only show a partial version number. If you need a full version number like 14.04.1 LTS instead of 14.04 LTS you will need to use the terminal method.
Open System Settings
Click on Details
Your version will be shown under the Ubuntu logo.
In the Terminal
This method will work no matter which version of Ubuntu or desktop environment you are running.
Open the Terminal (keyboard shortcut: Ctrl+Alt+T)
Enter the command lsb_release -a
Your version will be shown on the Description line.
CheckingYourUbuntuVersion (последним исправлял пользователь blenderudit3d 2014-11-18 13:52:51)
The material on this wiki is available under a free license, see Copyright / License for details
You can contribute to this wiki, see Wiki Guide for details
Источник
How to check your Linux version: easy ways to view the distribution and version number
When most people think of Linux, an open source operating system that serves as an alternative to Microsoft and Apple comes to mind. But unlike these market leaders that offer commercial operating systems, there is no single Linux operating system.
Instead, there is a whole series of free, open-source operating systems (referred to as “distributions”) that are built based on the Linux kernel. This means that Linux merely serves as the basis for potential operating systems, which are then built from the kernel and other programming elements. While Microsoft and Apple release closed-source, proprietary software products, the Linux kernel is open-source code that any member of the Linux community can use or modify to make their own applications and operating systems.
Since there exist countless Linux versions, it’s of utmost importance to know which version you’re running, especially when you run into technical problems, have questions, or want to do an update. Luckily, it’s very easy to find out. Keep reading for instructions on how tocheck your Linux version.
Linux version: what do the distribution and version number mean?
As of June 2020, there are now over 500 unique Linux distributions. The best-known are Ubuntu, Debian, Fedora, SUSE, Manjaro, and Linux Mint.
The family tree for Ubuntu alone contains over 65 software applications built on the basis of Ubuntu. The current distribution was released in 2020 with the version number 20.04. The first version of Ubuntu came out in 2004 and was based on the Debian operating system.
The various Linux distributions can be roughly divided into three basic family trees as well as countless other smaller branches and independent versions. For example, the entire Ubuntu family is based on Debian, the distribution Fedora is based on Red Hat Linux, and SUSE used Slackware.
Even though they’re all based on the Linux kernel, the various distributions serve as their own operating systems with different GNU toolchains and graphic interfaces. In order to find your way in the busy Linux landscape, it’s important to know which version of the Linux kernel and which distribution you’re using.
Checking the Linux version in the terminal
Whether you’re using Linux privately or professionally, it’s always important to know which Linux version and distribution you’re working with. That way you’ll know which package manager you’ll need for downloading new tools and updates, and which Linux forum you should turn to when you have questions or experience problems.
If you’re looking for details about your Linux version, there are two words which will be of particular significance:
- The version number of the distribution
- The version of the Linux kernel
To find out these two values, you’ll need to use Linux commands. In general, when working in Linux, user input is entered into so-called “shells”, which are interfaces between systems and users. Shells run using a graphic terminal that processes the commands in the relevant programming language. This will serve as your starting point in checking your Linux version.
Step 1: Distribution version number
Open the Linux terminal with the keys [Ctrl] + [Alt] + [T] or by using the search function. Type the following command into the terminal and then press enter:
The asterisk in the code ensures that the command will apply to all distributions and shows you the installed version. The data that you see now may look a bit messy, with some lines appearing twice or several ending in “release”. The most important line here is “PRETTY_NAME=”, which contains the name of the distribution and version number that you’re currently using.
Another command that works on all distributions without the need for a special tool is the following:
If you only need the name and version number of your current distribution, the following command will suffice:
In the following example, you can see that Ubuntu 20.04 LTS is currently running:
The command “lsb_release -d” shows the current distribution and its version number.
The following command lists more comprehensive information about the version:
The command “lsb_release -a” shows additional information about the distribution version you’re currently running.
This command should work on every Linux distribution, as long as you’ve installed the lsb-release package or it’s part of your Ubuntu version. If you haven’t already installed it, you can easily do so with the following command for Debian and Ubuntu:
Step 2: Linux kernel version number
If you’d like to know which version of the Linux kernel you’re using, type the following command into the terminal and press enter:
The command “uname -r” shows the version of the Linux kernel that you’re currently using.
You’ll now see which Linux kernel you’re using. In the above example, the Linux kernel is 5.4.0-26.
If you’d like to see more information (about computer architecture for example), you can enter the following command:
The command “uname -a” shows the version of the Linux kernel you’re using, as well as additional details.
Step 3: View everything at once with Inxi
With the tool Inxi, you can easily view all the information about your hardware, host, Linux kernel, desktop environment, and distribution. To install the program in Debian/Ubuntu, enter the following command into the terminal:
Once installed, you can view the above-mentioned data with this simple command:
- 16.10.20
- Know-how
- How did you like the article? 0
How to check Debian version: the quick and easy way
Knowing which Debian version you have not only helps you to choose the right install package for a program – you also need it to get appropriate support in forums. There are several different methods to check your Debian version. In this step-by-step guide, we’ll explain how to check your version using Terminal and Hardinfo.
How to check your Ubuntu version: a guide
Knowing which Ubuntu version you’re running is helpful for different things. You can use this information to check whether programs are compatible with your system. Or you can include the version number in troubleshooting searches. It’s thus of crucial importance to know how to check your Ubuntu version. Keep reading to find out how to do so in a few simple clicks.
Remove a directory in Linux: a simple guide
Sometimes you may need to delete an entire folder rather than just individual files. If you want to remove a Linux directory, there are several ways to do it. Here are a few basic solutions that use either File Manager or Terminal. We also explain what you can do if you don’t have the necessary rights.
Deleting files in Linux: a how-to guide
Deleting files in Linux couldn’t be easier. Whether you use the file manager or work directly in the terminal with the command “rm”, you can remove Linux files in just a few clicks. Keep reading to find out how to remove single files, multiple files, files of a certain type, or entire folders.
Linux find command: search and find files
While working on a Linux system the command line is frequently used. Many administrative tasks require you to find files and directories based on specific criteria. In doing so, Linux admins are accustomed to using the find command. Here, we’ll show you how the command works and how to use it as a handy tool.
Источник
How to Check Your Ubuntu Version
Home » SysAdmin » How to Check Your Ubuntu Version
Ubuntu is a free, open-source Linux-based operating system, which has a long list of release versions. Finding out which Ubuntu version is running on your system can be important when troubleshooting issues or searching for installation guides.
In this tutorial, learn how to check the Ubuntu version running on your machine.
- A system running Ubuntu
- Access to a user account with sudo or root privileges
- A terminal window/command line (Ctrl–Alt–T)
There are two (2) simple ways to determine the Ubuntu version installed on your server. Check the version in the terminal window or use Ubuntu’s default graphical interface.
How to Check Ubuntu Version in Terminal
If you prefer using the terminal, you can determine the Ubuntu version installed on your machine in three (3) different ways.
Check Ubuntu Version with lsb_release –a Command
- Open the terminal (use the Ctrl+Alt+T keyboard shortcut).
- Type in the following command and hit Enter:
The output displays the current version of Ubuntu. In the example seen in the image above, it is Ubuntu 18.04 (codenamed Bionic Beaver).
Check Ubuntu Version with cat /etc/lsb-release Command
Alternatively, you can use the command:
Check Ubuntu Version with cat /etc/*release Command
To get more in-depth information about the Ubuntu release, you can also use the command:
Check Ubuntu Version with hostnemctl Command
Another command that also gives you information about the Ubuntu version is the hostname command:
Check Ubuntu Version from Graphical Interface
You can quickly identify the Ubuntu version running on your system through the graphical interface.
1. First, select Activities in the top left corner.
2. In the search bar, enter Settings and click on the icon once it appears in the results.
3. In the System Settings window, click on the Details tab.
The Details section displays which Ubuntu version number you have, along with other information about your operating system.
The image above indicates that the system running on the machine is Ubuntu 18.04.2 LTS (codenamed Bionic Beaver). LTS is an acronym that stands for Long-Term Support, meaning it’s a major version supported for up to 10 years.
Other Ubuntu LTS releases include:
- Ubuntu 20.04 (Focal Fossa)
- Ubuntu 16.04 (Xenial Xerus) which has an end of life in April 2021
- Ubuntu 14.04 (Trusty Tahr)
After reading this article, you should know how to check which Ubuntu version you are running. Next, explore or even update the central core of the operating system, the Linux kernel.
Источник