Basics of Linux

Show info about your Linux system

# show info about your CPU
cat /proc/cpuinfo

# show kernel version
uname -a (print all information)
uname -r (print only the kernel version)
cat /proc/version

# show Linux distribution information
lsb_release -a
cat /proc/version
cat /etc/issue
cat /etc/debian_version

# show the OS name and kernel version
cat /etc/os-release
cat /proc/sys/kernel/ostype
cat /proc/sys/kernel/osrelease
cat /proc/sys/kernel/version

# show memory usage
cat /proc/meminfo

# show hostname and domain name
cat /proc/sys/kernel/hostname
cat /proc/sys/kernel/domainname

# show network interfaces
ifconfig

See Also

Schreibe einen Kommentar