Linux Distribution und Kernel-Version ermitteln
Aus Byte-Welt Wiki
Kernel Version
user@computer:~$ cat /proc/version
Linux version 4.14.98-v7+ (dom@dom-XPS-13-9370) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611)) #1200 SMP Tue Feb 12 20:27:48 GMT 2019
user@computer:~$ uname -r
4.14.98-v7+
user@computer:~$ uname -a
Linux raspberrypi 4.14.98-v7+ #1200 SMP Tue Feb 12 20:27:48 GMT 2019 armv7l GNU/Linux
Linux Distribution
user@computer:~$ lsb_release -d
Description: Raspbian GNU/Linux 9.8 (stretch)
user@computer:~$ lsb_release -a
No LSB modules are available. Distributor ID: Raspbian Description: Raspbian GNU/Linux 9.8 (stretch) Release: 9.8 Codename: stretch
user@computer:~$ cat /etc/issue
Raspbian GNU/Linux 9 \n \l