using a table, please show me three options to display the current linux version of a system. number the options. I will select an option number for you to elaborate on.
user
|   | command             |
|---|---------------------|
| 1 | cat /etc/os-release |
| 2 | lsb_release -a      |
| 3 | hostnamectl         |
assistant
Please tell me more about option 3, and also outline the most popular or common ways to get this information.
user
Option 3, using the hostnamectl command, is a tool that displays system information, including the Linux distribution and version. This command can be used in most modern Linux distributions, including Fedora, CentOS, and Ubuntu.

In addition to hostnamectl, some other common ways to get the current Linux version information include using the cat command to view the contents of the /etc/os-release file, or using the lsb_release command, which provides information about the Linux Standard Base (LSB) version of the distribution. These are both popular methods, but the specific command to use may vary depending on the Linux distribution.
assistant