Linux viewing System Information commands are essential for Linux beginners, and these commands are also useful because the first thing you can do to get into Linux is to look at the system information first, so the necessary systems to learn about these Linux System Information commands are very necessary!
# uname-a # View kernel/Os/cpu information
# head-n 1/etc/issue # view OS version
# cat/proc/cpuinfo # View CPU Information
# hostname # View computer name
# LSPCI-TV # list all PCI devices
# LSUSB-TV # list all USB devices
# lsmod # List of loaded kernel modules
# env # View environment variable resources
# free-m # View memory usage and swap area usage
# df-h # View the usage of each partition
# du-sh < directory name > # View the size of the specified directory
# grep Memtotal/proc/meminfo # View Total Memory
# grep Memfree/proc/meminfo # View the amount of free memory
# uptime # View System uptime, number of users, load
# cat/proc/loadavg # View system load disks and partitions
# Mount | COLUMN-T # Viewing the status of a mounted partition
# fdisk-l # View all partitions
# swapon-s # View all swap partitions
# hdparm-i/dev/hda # View disk parameters (for IDE devices only)
# DMESG | grep IDE # View IDE device detection network at startup
# ifconfig # View the properties of all network interfaces
# iptables-l # View firewall settings
# route-n # View the routing table
# netstat-lntp # View all listening ports
# NETSTAT-ANTP # View all established connections
# netstat-s # View the network statistics process
# ps-ef # View All Processes
# top # Real-time display of process status users
# w # View active Users
# ID < user name > # view specified user information
# last # View user log in log
# cut-d:-f1/etc/passwd # View All users of the system
# cut-d:-f1/etc/group # View all system groups
# crontab-l # View the current user's scheduled tasks service
# chkconfig–list # List all system services
# Chkconfig–list | grep on # Lists all started system services programs
# rpm-qa # View all installed Packages
This article transferred from: http://blog.csdn.net/lhf_tiger/article/details/7102753
View Linux Hardware Information
Http://www.cnblogs.com/ggjucheng/archive/2013/01/14/2859613.html
View Linux Version information
Http://www.cnblogs.com/ggjucheng/archive/2013/01/14/2859613.html
[Turn]linux to view system Information commands