View Linux Server Configuration
To view the properties of all network interfaces
Ifconfig
View System
Cat/etc/redhat-release
View Kernel version
Uname-a
Linux System Information command to view CPU information
Cat/proc/cpuinfo
To view the Linux System Information command for a computer name
Hostname
View environment variable Resources
Env
View memory usage and swap usage
Free-m
Or
grep memtotal/proc/meminfo
grep memfree/proc/meminfo
View memory Information
Cat/proc/meminfo
View information for all swap partitions
Cat/proc/swaps
View the usage of each partition
Df-h
To view the size of a specified directory
Du-sh
View system uptime, number of users, load
Uptime
View firewall settings
Iptables-l
View the routing table
Route-n
View all listening ports
Netstat-lntp
View all connections that have been established
Netstat-antp
View All Processes
Ps-ef
Real-time display of process status users
Top
View Active Users
W
View specified user information
Id
View User logon Logs
Last
View all users of the system
Cut-d:-f1/etc/passwd
View all system Groups
Cut-d:-f1/etc/group
View the current user's scheduled tasks service
Crontab-l
List all system services
Chkconfig--list
List all started system services programs
Chkconfig--list | grep on
To view all installed packages
Rpm-qa
View Linux Server basic information