- View system information:
- You can use the command “uname -a” to check information such as the system kernel version and the operating system version.
- You can use the command lsb_release -a to view detailed information about the Linux distribution.
- You can view CPU information by using the command cat /proc/cpuinfo.
- You can check the memory information by using the command cat /proc/meminfo.
- View log files:
- You can use the command “dmesg” to view the kernel log, which includes information from when the system started.
- You can view systemd log information using the command journalctl.
- You can check the system logs by using the command: cat /var/log/syslog.
- You can use the command cat /var/log/messages to view important system information and error logs.
- You can use the command “cat /var/log/auth.log” to view the system’s authentication log, which records user login information, etc.
✖