& Hellip; # uname-a # View kernel/OS/CPU information # cat/proc/version # View kernel # cat/etc/issue # View OS version # head-n1/etc/issue # view the operating system version # cat/proc...
Some can also be used under freebsd...
# Uname-a # View kernel/operating system/CPU information
# Cat/proc/version # view the kernel
# Cat/etc/issue # view the operating system version
# Head-n 1/etc/issue # view the operating system version
# Cat/proc/cpuinfo # View CPU information
# 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
# 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
# Hdparm-I/dev/hda # View disk parameters (only applicable to IDE devices)
# 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/version: view the version, similar to uname-r
Cat/proc/ioports: view the device's io port
Cat/proc/interrupts: view the interrupt
Cat/proc/pci: View pci device information
Cat/proc/swaps: view information about all swap partitions