

I hope you find this quick tip helpful in finding Linux version detail. No prizes for guessing that the above system is running on Linux kernel version 5.4.43. The output shows only the Linux kernel version: handbook:~# uname -r You can get the kernel details using the uname command in any Linux distribution. Now that you know which distribution you are running, perhaps you would also like to know about the Linux kernel version running on the system. :~$ lsb_release -aĬodename: focal Bonus Tip: Find Linux kernel version You can use the lsb_release command with option -a and it will provide distribution details: lsb_release -aĭon't mind the No LSB modules are available line. Version 1.5.0 New: HTML Template export option New: Non-focused row selection color for the versions list to more clearly indicate what version. Featuring multiple export formats and a handful of automatic functions, writing change logs has never been easier.

I think it is mostly used by Debian/Ubuntu based distributions. VersionTracker is a tool to help developers maintain and generate version history logs. This is NOT a command that you'll find in all Linux distributions. The hostnamectl command is primarily used for dealing with the hostname but if it provides other details why not use it? Method 3: Use lsb-release command You can see the Linux version detail in the line starting with 'Operating System'.
Versiontracker linux upgrade#
hostnamectlįor the same CentOS system that you saw above, hostnamectl provides the following details: ~]# hostnamectl What do people think of the service offered by VersionTracker Pro Can it really be used to scan and upgrade all (assuming I dont use anything very obscure, and knowing that Ill use finks own package management system for fink) software reliably, so I dont have to think about checking. On such a system, you can use the hostnamectl command to get Linux version detail. Most Linux distributions these days use systemd. However, all of them provide the Linux distribution name and version so it is a pretty reliable way to know which Linux you are running. Distributions often use it to provide additional information like where to get support or file bugs etc.įor example, the /etc/os-release provides more lines for CentOS Linux. Manage traditional websites and Xojo Web apps on your own Linux server. The content of the /etc/os-release is usually different for different distributions. handbook:~# cat /etc/os-releaseĪs you can see, the name of Linux distribution is Alpine Linux and the distribution version is 3.12. Here's what it displays for Alpine Linux server running on Linode infrastructure. You can use cat command to view the content of the file in Linux terminal: cat /etc/os-release It gives you the distribution name, distribution version, release name or ID.

The os-release file in the /etc directory keeps the information about the Linux distribution. If you are familiar with the Linux directory structure, you probably already know that /etc directory contains the core configuration files of the system. Find Linux distribution details Method 1: Use /etc/os-release file In this beginner's tip, I'll show you different ways to check which Linux you are running. However, that's not the only way to know the Linux distribution details. It will show an output similar to this: NAME="Ubuntu"Īs you can see, the Linux name is Ubuntu and the version is 20.04.1.

The simplest way to check Linux version is to see the content of the /etc/os-release file: cat /etc/os-release
Versiontracker linux install#
Vt.When you install a Linux distribution on your own, you know which distribution and version it is.īut if you use SSH to log in to a remote Linux server provided by an enterprise or client, you may wonder which Linux distribution and version it is. Then call these whenever you want (in these examples the user has launched a bunch of previous versions, and this is the first time he's launched the new version 1.0.11): vt.isFirstLaunchEver // false var vt = VersionTracker() Īwait vt.track(buildHistoryMaxLength: 10, versionHistoryMaxLength: 10) You can also set the max number for version and build history by giving a value to buildHistoryMaxLength and versionHistoryMaxLength in the track function. UsageĬall this on the main function var vt = VersionTracker() Provides the ability to keep track of previous installations and easily migrate data between upgrades.
