britishport.blogg.se

How to check ubuntu version
How to check ubuntu version




how to check ubuntu version

If you want to check the Ubuntu version graphically, using your desktop environment, check the instructions below. You can get the version of Ubuntu from multiple lines here. You should get a result similar to: DISTRIB_ID=Ubuntu Run the following command to get another detailed result of the system you’re using: cat /etc/*ease The line you need here is the 7th line, Operating System. Here’s a sample result: Static hostname: ubuntu-s-1vcpu-512mb-10gb-fra1-01 It should give you a detailed result of the system you’re running. (Optional) Other commands you can use: OR Use hostnamectl to check the Ubuntu version This command will output “22.04”, it’s useful for scripts. If you want to get the third line only (Release), without the word “Release: “, use the following command: lsb_release -r -s If you want to get the second line only (Description) you can run the following command: lsb_release -d

how to check ubuntu version

Now you know what version of Ubuntu you’re running.

  • The fourth line (Codename) is the codename of the distroĪnd that’s it.
  • The third line (Release) is the release number of the distro.
  • The second line (Description) is the version of Ubuntu you’re running (the result you need).
  • The first line (Distributor) is the name of the distro.
  • Depending on the version you’re using, the results of the command above should be similar to: Distributor ID: Ubuntu To get the details about the version of Ubuntu you’re running. Run the following command: lsb_release -a
  • If you’re using a server, just SSH into the server.
  • By right-clicking in any directory (including Desktop) and choosing the “Open in Terminal” option.
  • Open it via the Activities menu, just type in “terminal” and click on the app.
  • (Optional) other methods you can use to open Terminal: Press these 3 keys and a Terminal window will open up. You can open Terminal by using a keyboard shortcut: CTRL + ALT + T. Here are the step-by-step instructions: Step 1: Open Terminal

    How to check ubuntu version how to#

    Let’s jump straight to the CLI method: How to check Ubuntu version via Terminal TL DR: Just use the lsb_release -a command in a Terminal. We’ll show you a method of doing it via the command-line interface ( CLI) and one via the graphical user interface ( GUI). This tutorial will show you how to check what version of Ubuntu you’re running/using.






    How to check ubuntu version