Linux command อ่านค่า host name

Check Kernel version
pi@raspberrypi:/usr/src $ uname -srm
Linux 4.19.75+ armv6l

pi@raspberrypi:/ $ uname -a
Linux raspberrypi 4.19.75+ #1270 Tue Sep 24 18:38:54 BST 2019 armv6l GNU/Linux

 

pi@raspberrypi1:~/Documents/TestUART $ hostnamectl
   Static hostname: raspberrypi1
         Icon name: computer
        Machine ID: b7583e9a62554beca3a777223cfab42e
           Boot ID: 0e005b9ac5564bfaa9a527de694ff2b9
  Operating System: Raspbian GNU/Linux 10 (buster)
            Kernel: Linux 4.19.97+
      Architecture: arm
pi@raspberrypi1:~/Documents/TestUART $

ประเภทเนื้อหาของ article
Raspberry Pi Zero
Rating
No votes yet