![]() ![]() ![]() d, -description: Display a description of the currently installed distribution. On Debian based Linux distributions, you can use the lsb_release command to print distribution-specific information.Īvailable options: -v, -version: Show the version of the LSB against which your current installation is compliant. Linux cloudstack 4.15.0-54-generic #58-Ubuntu SMP Mon Jun 24 10:55: x86_64 x86_64 x86_64 GNU/LinuxĪs you can see above, the distribution and version of the distribution cannot be found using the uname command. -o, –operating-system (mostly outputs GNU/Linux) Examples of uname usage $ uname -o.–version output uname version information and exit.-i, –hardware-platform print the hardware platform (non-portable).-p, –processor print the processor type (non-portable).-m, –machine print the machine hardware name.-v, –kernel-version print the kernel version.-r, –kernel-release print the kernel release.-n, –nodename print the network node hostname.-a, –all print all information, in the following order, except omit -p and -i if unknown:.Uname, on the other hand, provides the following system information: So, you simply do the following and you will happily have what you are looking for. You might guess how it can be viewed because we covered the use of cat command previously. Luckily, there is a file that almost all distributions have that keeps this valuable data. First, you may think about typing in uname -a, but this does not provide all of the information you may need. ![]() Given a minimal version of a Linux system, how can you know which distribution and which version of the distribution you are working on? This is a vital question. What is Linux? Everything you need to know about the operating system ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |