# Uname-a # View kernel/OS/CPU information # head-n1/etc/issue # View OS version # hostname # View Computer Name # lspci-TV # List all PCI devices # lsusb-TV # List all USB devices # lsmod #...
# Uname-a # View kernel/operating system/CPU information
# Head-n 1/etc/issue # view the operating system version
# Hostname # view the computer name
# Lspci-TV # List all PCI devices
# Lsusb-TV # List all USB devices
# Lsmod # List loaded kernel modules
# Env # View environment variable resources
# Free-m # View memory usage and swap zone usage
# Df-h # view the usage of each partition
# Du-sh <目录名> # View the size of a specified directory
# Grep MemTotal/proc/meminfo # View total memory
# Grep MemFree/proc/meminfo # view the amount of idle memory
# Uptime # View system running time, number of users, and load
# Vmstat # View detailed system running information
# Cat/proc/loadavg # View system load disks and partitions
# Mount | column-t # view the status of the mounted partition
# Fdisk-l # View all partitions
# Swapon-s # View all swap partitions
# Dmesg | grep IDE # view the network of the IDE device detection status at startup
# Ifconfig # view the attributes of all network interfaces
# Iptables-L # View firewall settings
# Route-n # view the route table
# Netstat-lntp # View all listening ports
# Netstat-antp # View all established connections
# Netstat-s # View network statistics process
# Ps-ef # View all processes
# Top # real-time display of process status users
# W # View active users
# Id <用户名> # Viewing specified user information
# Last # View user logon logs
# Cut-d:-f1/etc/passwd # View all users in the system
# Cut-d:-f1/etc/group # View all groups in the system
# Crontab-l # view the scheduled task service of the current user
# Chkconfig-list # list all System Services
# Chkconfig-list | grep on # list all started System service programs
# Rpm-qa # View all installed software packages
Cat/proc/cpuinfo view CPU parameters
Cat/proc/partitions view hard disks and partitions
Cat/proc/meminfo view memory information
Cat/proc/ioports view the device's io port
Cat/proc/interrupts view interrupt
Cat/proc/pci view pci device information
Cat/proc/swaps view information about all swap partitions
The author's "txgc1009 column"