Network commands
Command name: Write
Command path:/usr/bin/write
Execute Permissions: All Users
Syntax: Write < user name >
Function Description: Send message to Online user to Ctrl+d save End Example: Write linzhiling
Command name: Wall
Command English original: Write all
Command path:/usr/bin/wall
Execute Permissions: All Users
Syntax: wall [message]
Function Description: Send broadcast message example: Wall He is a honest man!
Command name: Ping
Command path:/bin/ping
Execute Permissions: All Users
Syntax: ping [options] IP address-C Specify the number of times to send
Function Description: Test network connectivity Example: 192.168.1.1
Command name: ifconfig
Command English original meaning: interface configure
Command path:/sbin/ifconfig
Execute permissions: Root
Syntax: ifconfig NIC name IP address
Function Description: View and set NIC Information example: Ifconfig eth0 192.168.1.1
Command name: Mail
Command path:/bin/mail
Execute Permissions: All Users
Syntax: Mail [user name]
Function Description: View Send email example: Mail root
Command name: Last
Command path:/usr/bin/last
Execute Permissions: All Users
Syntax: Last
Function Description: Lists the current and past logged in system User Information example: last
Command name: Lastlog
Command path:/usr/bin/lastlog
Execute Permissions: All Users
Syntax: Lastlog
Function Description: Check the last login time for a specific user example: Lastlog lastlog-u 502 (502 for user ID)
Command name: traceroute
Command path:/bin/traceroute
Execute Permissions: All Users
Syntax: traceroute
Function Description: Displays the path between the packets to the host traceroute www.baidu.com
Command name: netstat
Command path:/bin/netstat
Execute Permissions: All Users
Syntax: netstat [options]-T:TCP protocol;-U:UDP protocol;-L: Listener;-R: Route;-N: Displays IP address and port number
Function Description: Display network-related information example:netstat-tuln View the port of native listening;nestata-an View all network connections on this computer;nestat-rn View native routing table
Restart Network Service Network restart
Command name: Setup
Command path:/usr/bin/setup
Execute permissions: Root
Syntax: Setup
Function Description: Configure Network example: Setup
Command name: Mount (for mounting mobile devices, etc.)
Command path:/bin/mount
Execute Permissions: All Users
Syntax: Mount [-t file system] device file name mount point example: Mount-t iso9660/dev/sr0/mnt/cdrom
Unload mount point : umount/dev/sr0
Linux Common commands-network commands