Get these quick commands to figure out what Linux kernel version and distribution your system is running. Image by :. Internet Archive Book Images. Modified by Opensource. Get the highlights in your inbox every week. More Linux resources. Our latest Linux articles. Topics Linux. About the author. He is a advocate for open access, open educational resources, and open source software.
He holds a master's degree in library and information science from Wayne State University and a master's degree in higher education from Grand Valley State University. Joshua can be reached at holmja opensource. More about me. 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 In the above example, the Linux kernel is 5. With the tool Inxi, you can easily view all the information about your hardware, host, Linux kernel, desktop environment, and distribution. 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. You can use this information to check whether programs are compatible with your system. Or you can include the version number in troubleshooting searches. Keep reading to find out how to do so in a few simple clicks. 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. There are several ways of knowing the version of Linux you are running on your machine as well as your distribution name and kernel version plus some extra information that you may probably want to have in mind or at your fingertips. Therefore, in this simple yet important guide for new Linux users, I will show you how to do just that. Doing this may seem to be relatively easy task, however, having a good knowledge of your system is always a recommended practice for a good number of reasons including installing and running the appropriate packages for your Linux version, for easy reporting of bugs coupled with many more.
With that said, let us proceed to how you can figure out information about your Linux distribution. We will use uname command, which is used to print your Linux system information such as kernel version and release name, network hostname, machine hardware name, processor architecture, hardware platform and the operating system.
In the preceding command, the option -o prints operating system name and -r prints the kernel release version. You can also use -a option with uname command to print all system information as shown:. Simply type the command below to display some of your system information including the Linux kernel version:.
In this article, we walked through a brief and simple guide intended to help new Linux user find out the Linux version they are running and also get to know their Linux distribution name and version from the shell prompt. Perhaps it can also be useful to advanced users on one or two occasions. Lastly, to reach us for any assistance or suggestions you wish to offer, make use of the feedback form below.
Improve this question. Kevin Add a comment. Active Oldest Votes. Figuring out what package manager you have is a good clue. Improve this answer. Community Bot 1. CentOS7 will claim it is "Red Hat 4. This should be the correct answer.
0コメント