system info linux code example
Example 1: linux command to show memory hardware
# List RAM Memory Information
lshw -short -C memory
Example 2: linux command system info
tecmint@tecmint ~ $ uname -a
Linux tecmint.com 3.13.0-37-generic #64-Ubuntu SMP Mon Sep 22 21:28:38 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Example 3: Show server info linux
Linux Command :
>>>> ping (domain name)
>>>>// server ip
>>>> whois (server ip)
>>>>// server info
Example 4: linux print system info
Command is: uname -a
pi@raspberrypi:~ $ uname -a
Linux raspberrypi 5.10.17-v7+ #1403 SMP Mon Feb 22 11:29:51 GMT 2021 armv7l GNU/Linux