View Ubuntu System Configuration

To view the configuration information of the Ubuntu system, you can use the following methods:

  1. To view system information using the command line:
    Open the terminal and enter the following command to check the basic information of the system:
uname -a  #查看内核版本和系统架构
lsb_release -a  #查看Ubuntu发行版信息
  1. View hardware information using the lshw command.
sudo lshw  #查看所有硬件信息
sudo lshw -short  #查看硬件摘要信息
  1. Use the dmidecode command to view system hardware information.
sudo dmidecode  #查看系统硬件信息
  1. Check the memory usage with the “free” command.
free -m  #查看内存使用情况(以MB为单位)
  1. Check the disk space usage using the df command.
df -h  #查看磁盘空间使用情况(以人类可读格式显示)

The above command allows users to view the basic configuration information of the Ubuntu system, helping them better understand the hardware configuration and resource usage of the system.

bannerAds