/Proc virtual directory, which is the ing of system memory. You can directly access this directory to obtain system information. It also contains the following information: host CPU information: cpuinfo host DMA channel information: dma file system information: filesystems host interrupt information: interrupts host I/O port number information: ioprots host memory information: meminfoLinux
/Proc virtual directory, which is the ing of system memory. You can directly access this directory to obtain system information. It also contains the following information:
Host CPU information: cpuinfo
Host DMA channel information: dma
File system information: filesystems
Host interruption information: interrupts
Host I/O port number information: ioprots
Host memory information: meminfo
Linux memory version: version
/Dev special file
/Etc system management and configuration file
Configuration files and scripts started by/etc/rc. d
The base point of the/home user's home directory. for example, the home directory of the user kutea.net is/home/kutea.net. you can use ~ Kutea.net representation
/Lib standard programming library, also known as dynamic link shared library, works similar to. dll files in windows
/Sbin System Management Command, which stores the management program used by the system administrator.
/Tmp public temporary file storage point (the only directory with 777 permission under the Directory)
/Root system administrator's home directory
/The mnt system provides this directory for users to temporarily mount other file systems.
The/lost + found directory is usually empty, and the system shuts down abnormally, leaving the "homeless" file (what is. chk in windows) here
/Var overflow of some large files, such as log files of various services
The/usr directory contains almost all the applications and files to be used. Including:
/Usr/x11r6 directory for storing x Windows
/Usr/bin numerous applications
/Usr/sbin hyperuser management program
/Usr/doc linux document
Header files required for developing and compiling applications in/usr/include linux
/Usr/lib common dynamic link library and software package configuration file
/Usr/man help document
/Usr/src source code. the linux kernel source code is stored in/usr/src/linux.
/Usr/local/bin commands added locally
/Usr/local/lib: local root file system added
Disks and partitions:
# Mount | columu-t # view the status of the mounted partition
# Fdisk-l # View all partitions
# Swapon-s # View all swap partitions
# Dmesg | grep IDE # view the IDE device detection status at startup
System:
# Uname-a # View kernel/operating system/CPU information
# Head-n 1/etc/issue # view the operating system version
# Cat/proc/cpuinfo # View CPU information
# Hostname # view the computer name
# Lsmod # List loaded kernel modules
# Env # View environment variables
Resource:
# 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
# Uptime # View system running time, number of users, and load
# Cat/proc/loadavg # View system load
Network:
# 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