Answered by the Webhosting Experts
Tags +

Managed Services

Just Leave Linux to Us
Is maintaining your Linux server keeping your team bogged down? Alleviate unnecessary stress with one of Hivelocity’s Linux Managed Services plans. With reboots, monitoring, updates, and more, your team can rest easy knowing your hardware and OS are in the hands of hosting experts.

Configure your server today and see the benefits a Hivelocity managed Linux solution can offer you!

Tags +

How to Check Linux Version

If you’re new to Linux, starting up a new machine, or just looking for more info on your server’s OS and Linux Kernel, you can easily check your system’s Linux version using one of several methods. Depending on your specific distribution, some of these methods may work better for you than others. 

How to Check Linux Version

The first step in checking your Linux version is determining what is is your actually looking for. Are you trying to determine your system’s operating system: the name of your particular Linux distribution (such as Red Hat, CentOS, Ubuntu, etc.)? Or the actual version number of your Linux Kernel? Depending on what you’re looking for, there are different ways of accessing both.

If you’d like a quick way of checking both the OS and kernel, enter the following command into your Linux terminal:


When entered, this should output a list of information from the systemd logs associated with your system’s hostname. Included in this information, you should find a line marked Operating System which contains the name of your Linux distribution, and a line below it marked Kernel, containing information on your Linux Kernel’s version number. Because this method relies on systemd, it is possible this command won’t work for you, depending on the age of your particular Linux distribution.


Using lsb_release to Check OS

If you are trying to learn more information about your Linux distribution specifically, the command lsb_release can provide information on your package’s distributor, the distribution’s release number, and any possible codenames/secondary names associated with the distribution. Short for Linux Standard Base, the lsb_release command is only compatible with certain Linux distributions (those which it’s already installed on). To test if your distribution supports lsb_release, use the following command:

lsb_release -a

If supported, this command should print an output with details on your system’s distribution package. If not compatible, the output “command not found: lsb_release” will be printed instead.


Other Methods for Checking OS Version

If the lsb_release command isn’t working for your particular Linux distribution, there are several other methods available to determine your machine’s operating system.

If your Linux distribution is operating on systemd, the following command can be used to output data on your system’s OS:

cat /etc/os-release

or by using:

cat /etc/issue

which typically outputs version info on a machine before prompting the user to log in.

If your version of Linux is really old, and none of these methods work for checking the operating system, try the following commands:

cat /etc/*release

cat /etc/*version

Used together, these commands should produce the OS name and version number of your Linux distribution.


Checking the Linux Kernel Version

If you’re more concerned with the version number of your system’s Linux Kernel than with the name of its distribution package, the uname command can provide useful information on the architecture of your kernel. To print all the information associated with your kernel, use the command:

uname -a

The uname command will then print an output with you kernel’s version number.

You can also output information on the currently running kernel using the command:

cat /proc/version

This command prints info pulled from the contents of /proc/sys/kernel/ostype, /proc/sys/kernel/osrelease, and /proc/sys/kernel/version, and contains information on the Linux distribution as well as the kernel version.


Popular Links

Looking for more information on Linux? Search our Knowledge Base!

Interested in more articles about Operating Systems? Navigate to our Categories page using the bar on the left or check out these popular articles:

Popular tags within this category include: Linux, Windows, Apache, CentOS, Debian, Fedora, RedHat, and more.

Don’t see what you’re looking for? Use the search bar at the top to search our entire Knowledge Base.


The Hivelocity Difference

Seeking a better Dedicated Server solution? In the market for Private Cloud or Colocation services? Check out Hivelocity’s extensive list of products for great deals and offers.

With best-in-class customer service, affordable pricing, a wide-range of fully-customizable options, and a network like no other, Hivelocity is the hosting solution you’ve been waiting for.

Unsure which of our services is best for your particular needs? Call or live chat with one of our sales agents today and see the difference Hivelocity can make for you.



Need More Personalized Help?

If you have any further issues, questions, or would like some assistance checking on this or anything else, please reach out to us from your account and provide your server credentials within the encrypted field for the best possible security and support.

If you are unable to reach your account or if you are on the go, please reach out from your valid account email to us here at: [email protected] We are also available to you through our phone and live chat system 24/7/365.

Rapid Restore

Backup your entire server’s data every night and have access to 5 days of rolling restore points.  Restore your server’s data, OS and configuration any time you need it.

Our Rapid Restore service saves the day during accidental data loss, hardware failures and virus contraction. Simply pick your recovery point and restore the data from that day. 

DDoS Protection

While our competitors may advertise DDoS protection, most often, they are merely implementing easily evaded router rules or simply black-holing targeted servers. They consider this “DDoS protecting their network.” However, neither of these solutions should give comfort to any online business. Should your site be attacked, chances are likely both of these options will end with your server being taken offline. At Hivelocity, we take the responsibility of keeping your servers online very seriously. For this reason, we offer two very serious forms of DDoS protection.


Every solution we provide includes our Filtering Edge of Network System (FENS). FENS is a series of proprietary systems that proactively monitors and protects the entire Hivelocity Network from most common Denial of Service (DOS) and Distributed Denial of Service (DDoS) attacks.


For an extra fee, you can enhance your server’s protection further with the addition of our Server Defense System. Our Server Defense System sits in front of your server, inspecting inbound data and looking for malicious traffic. The moment an attack is detected, it instantly begins scrubbing each data packet. Hivelocity’s Server Defense System delivers business continuity even in the face of massive and complex attacks.

Our Server Defense System is like adding an alarm and armed guard to your business, alerting you to and destroying anything attempting to jump that fence. Our Server Defense System utilizes internally developed proprietary systems in addition to Corero’s Threat Defense Smartwalls for data packet scrubbing. Each of our data centers is a scrubbing center with Corero Smartwalls on-premise, allowing us to provide on-prem zero-lag data scrubbing.

SSL Certificates

The security of your online commerce and protecting your customers’ data is as important to us as it is to you. When your customers see the green bar, they will know their connection to you is protected. We offer single domain, multi-domain, and wild-card certificates.

We offer industry leading 128-bit encryption certificates, allowing you to conduct e-commerce with complete security. Inspire confidence in your customers by displaying any number of seals and indicators certifying that your site is secure.

Load Balancing

Adding this service to two servers with identical content will allow you to distribute your load evenly across your hardware. Don’t lose business because you couldn’t handle the demand. Load balance and handle your biggest resource spikes with ease.


Stop attacks, prevent unauthorized access, and achieve regulatory compliance. Our Juniper hardware firewalls offload the work so your server never has to consume resources protecting itself from malicious traffic. A single firewall can be used to protect multiple servers.

Cloud Storage

Cloud storage offers users redundancy and easy accessibility, ensuring your data remains secure and readily available. Scale to as much as you need for only a 20¢/GB.

Cloud Storage is distributed and replicated across many servers, protecting your data from hardware failure. Highly scalable, it can handle thousands of client connections via TCP/IP. Connect to your virtual drive with SFTP, FTP, and SSHMount and in the future NFS and AFP. Cloud Storage is based on a stackable design which is upgradeable up to 2TB per instance.