One, Cat/proc/cpuinfo |grep "model name" && cat/proc/cpuinfo |grep "Physical ID" # Linux CPU Size
Second, Cat/proc/meminfo |grep memtotal # Memory size
Three, fdisk-l |grep DISKP # hard disk size
Iv. uname-a # Linux System Information commands for viewing kernel/operating system/CPU information
Five, head-n 1/etc/issue # View OS version, is the number 1 not the letter L
Vi. Cat/proc/cpuinfo # Linux System Information commands for viewing CPU information
Vii. hostname # View Linux System Information commands for computer names
Viii. Lspci-tv # List of all PCI devices
Ix. LSUSB-TV # Lists Linux System Information commands for all USB devices
X. LSMOD # List of loaded kernel modules
Xi. env # View environment variable resources
12. Free-m # View memory usage and swap area usage
13, Df-h # View the usage of each partition
14, Du-sh # View the size of the specified directory
XV, grep memtotal/proc/meminfo # View Total Memory
16. grep Memfree/proc/meminfo # View the amount of free memory
17. Uptime # View System uptime, number of users, load
18. Cat/proc/loadavg # View system load disks and partitions
19. Mount | COLUMN-T # Viewing the status of a mounted partition
20. Fdisk-l # View all partitions
21. Swapon-s # View all swap partitions
22. Hdparm-i/dev/hda # View disk parameters (for IDE devices only)
23, DMESG | grep IDE # View IDE device detection network at startup
24. Ifconfig # View the properties of all network interfaces
25. Iptables-l # View firewall settings
26. Route-n # View the routing table
27. NETSTAT-LNTP # View All listening ports
28. NETSTAT-ANTP # View all established connections
29. Netstat-s # Viewing the network statistics process
30. Ps-ef # View All Processes
31, Top # Real-time display process status users
32. W # View Active Users
33. ID # View specified user information
34. Last # View user log in log
35, cut-d:-F1/ETC/PASSWD # View All users of the system
36, cut-d:-f1/etc/group # View all system groups
37. Crontab-l # View the current user's scheduled tasks service
37. Chkconfig–list # List all system services
38, Chkconfig–list | grep on # Lists all started system services programs
39. Rpm-qa # View all installed Packages
40. Cat/proc/cpuinfo: Linux system commands to view CPU-related parameters
41, Cat/proc/partitions: View the Linux hard disk and partition information System Information command
42. Cat/proc/meminfo: Linux system command to view Linux system memory information
43, Cat/proc/version: View version, similar to Uname-r
44. Cat/proc/ioports: View device IO port
45. Cat/proc/interrupts: View interrupts
46. CAT/PROC/PCI: View PCI Device information
47. Cat/proc/swaps: View information for all swap partitions
Linux System Configuration Common command collation