TOOL » LINUX

Info

Hardware / system information

Some information are in files and can be seen using tools like cat.

InformationFileCommand
OS/etc/os-releasehostnamectl uname -a
Networkhostname -i ip -o address curl ifconfig.me
CPU/proc/cpuinfo

Get only the local IP address:

shell
ip address | sed -nE 's# *inet (192[^/]+)/.*#\1#p'