Several ways to display the Linux version in CLI

1. uname

ubuntu@Server:~$ uname -a
Linux thinkpad 6.11.0-8-generic #8-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 16 13:41:20 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

2. cat /proc/version

ubuntu@Server:~$ cat /proc/version
Linux version 6.11.0-8-generic (buildd@lcy02-amd64-042) (x86_64-linux-gnu-gcc-14 (U[......]

继续阅读