Common Centos 7 Operations
View port usage
Netstat command
-A or-all shows the sockets in all connections.
-A <network type> or-<network type> lists the related addresses of the network type connections.
-C or-continuous continuously lists the network status.
-C or-cache displays the cache information of the vro configuration.
-E or-extend displays other network-related information.
-F or-fib displays FIB.
-G or-groups displays a list of members of the Multi-Broadcast Function Group.
-H or-help online help.
-I or-interfaces displays the network interface information form.
-L or-listening displays the Socket of the monitored server.
-M or-masquerade displays disguised network connections.
-N or-numeric directly uses the IP address instead of the Domain Name Server.
-N or-netlink or-symbolic indicates the symbolic connection name of the network hardware peripheral device.
-O or-timers displays the timer.
-P or-programs shows the program identification code and program name using Socket.
-R or-route displays the Routing Table.
-S or-statistice displays a statistical table of network work information.
-T or-tcp shows the connection status of the TCP transmission protocol.
-U or-udp shows the connection status of UDP transmission protocol.
-V or-verbose displays the command execution process.
-V or-version displays version information.
-W or-raw shows the RAW transmission protocol connection status.
-X or-unix: this parameter has the same effect as the specified "-A unix" parameter.
-Ip or-inet: the effect of this parameter is the same as that of the specified "-A inet" parameter.
Common
Netstat-ntpl
View the pid ID and socket of all tcp connections as IP addresses.
Restart host
Reboot
File Operations
Create a folder named mkdir
Create File vi
File movement and rename mv
Delete the rm-r File
Copy and paste cp
Go to the directory cd
Service Operations
Disable service kill pid