There are several ways to find out information about a Unix system, including the following:
uname
command: The uname
command displays information about the system, including the operating system name, the hostname, and the kernel version.uname -a
lsb_release
command: The lsb_release
command displays information about the Linux distribution, including the distribution name and version.lsb_release -a
hostname
command: The hostname
command displays the hostname of the system.hostname
uptime
command: The uptime
command displays the uptime of the system, as well as the load average over the past 1, 5, and 15 minutes.uptime
free
command: The free
command displays information about the system's memory usage.free -m
df
command: The df
command displays information about the system's disk usage.df -h
cat /etc/*release
: The /etc/*release
files contain information about the operating system and distribution. You can use the cat
command to view the contents of these files.cat /etc/*release