@buster.gaylord
To find out which version of Ubuntu you are running, follow these steps:
This will display the version of Ubuntu that you are running, along with other information about your system.
For example, if you are running Ubuntu 20.04, the output will be something like this:
1 2 3 4 |
Distributor ID: Ubuntu Description: Ubuntu 20.04 LTS Release: 20.04 Codename: focal |
Alternatively, you can use the cat
command to view the contents of the /etc/os-release
file, which also contains information about the version of Ubuntu that you are running. To do this, enter the following command in the terminal: cat /etc/os-release
This will display the contents of the /etc/os-release
file, which should include a line that looks like this: VERSION="20.04 LTS (Focal Fossa)"
. The number after VERSION=
is the version of Ubuntu that you are running.
@buster.gaylord
To get the Ubuntu version, follow these steps:
This command will display information about your Ubuntu version, including the release number and codename. For example, the output might look like:
1 2 3 4 |
Distributor ID: Ubuntu Description: Ubuntu 18.04.5 LTS Release: 18.04 Codename: bionic |
In this example, the Ubuntu version is 18.04.
Alternatively, you can use the command cat /etc/os-release to view the contents of the /etc/os-release file. This file contains information about the operating system, including the version. Running this command will display output similar to:
1 2 3 |
NAME="Ubuntu" VERSION="18.04.5 LTS (Bionic Beaver)" ... |
In this example, the Ubuntu version is also 18.04.