Files
linux-wiki/content/deepin折腾笔记/第二章/2.5.md
2021-10-21 14:57:58 +08:00

29 lines
649 B
Markdown
Executable File
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 2.5 查询系统信息
1 安装查询软件sudo apt install neofetch screenfetch
2 终端查询命令neofetch 或 screenfetch
3 常用命令还有:
4 uname -a #查询内核版本
5 cat /proc/cpuinfo #查询CPU信息
6 hostname #查看计算机名
7 lspci #列出所有PCI设备
8 lsusb #列出所有USB设备
9 lsmod #列出加载的内核模块
10 env #查看环境变量资源
11 free -m #查看内存使用量和交换区使用量
12 df -h #查看各分区使用情况
13 ifconfig #查看网络接口属性,需 sudo apt install net-tools 或 ip address
14 route -n #查看路由表,或 ip route