![]() Perhaps it can also be useful to advanced users on one or two occasions. In this article, we walked through a brief and simple guide intended to help new Linux users find out the Linux version they are running and also get to know their Linux distribution name and version from the shell prompt. I’ve used the tmux terminal multiplexer for accessing multiple Linux terminal sessions simultaneously in a single terminal window. ![]() The hostnamectl command is a systemd utility that is used to get the Linux operating system information and also used to change or set the system hostname. $ lsb_release -aįind Linux OS Information hostnamectl Command Once installed, run the lsb_release utility to print the standard Linux system information as shown. The lsb_release command is not installed by default, you need to install it using your default package manager as shown. $ cat /etc/gentoo-release įind Linux Distribution Name and Release lsb_release CommandĪlternatively, you can also use the lsb_release tool, which will print LSB (Linux Standard Base) information about the Linux distribution on your terminal. etc/os-release file $ cat /etc/os-release The best way to determine a Linux distribution name and release version information is by using the cat /etc/os-release command, which works on almost all Linux systems.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |