Detailed explanation of the use of the latest CentOS network status tool ss commands
The ss command is used to display the socket status. he can display statistics such as PACKET sockets, TCP sockets, UDP sockets, DCCP sockets, RAW sockets, and Unix domain sockets. it displays more tcp and state information than other tools. it is a very practical, fast, and effective new tool for tracking IP connections an
Red Hat has this function) I have another article dedicated to the InternetMountMount. Mount [-t file system] device file point mount pointeg, mount-t Iso9660/dev/sr0/mnt/cdromPower off Restart commandShutdown shut down the machineshutdown [Options] Time-C cancels the previous shutdown instruction-H shutdown-R RestartHalt Poweroff Init 0RestartReboot Init 6Logout Sign OutSystem Operation Service0 shutdown, 1, single user 2, not fully multiuser, no NFS service 3, full multiuser4, unassigned 5 gr
1. WriteFunction: Send information to the developing user within the systemSyntax: Write user name2, WallFunction: Broadcast to all users3. PingSyntax: ping-c number of IP4, IfconfigFunction: View network settings informationGrammar:IFCONFIG-A//Display all network card informationIn addition, ifconfig eth0 new IP address, the statement can be implemented in this terminal to change the local IP, in order to
For commands related to viewing networks in ubuntu, refer to querying Nic addresses by IP address (arping IP address) Checking computer name nmblookup-a ip address (ifconfig eth0 | awk '/inet/{split ($2, x ,":"); print x [2]} 'view the IP address w3m-no-cookie-dump www.123cha.com | grep-o' [0-9]/{1, 3/}/of the current Internet /}/. [0-9]/{1, 3 /}/. [0-9]/{1, 3 /}/. [0-9]/{1, 3/} 'w3m-no-cookie-dump ip.loveroot.com | grep-O' [0-9]/{1, 3 /}/. [0-9]/{1,
1. The most basic and commonly used physical network testing
Ping 192.168.10.88-T. The-t parameter is used to wait for the user to stop the test.
2. View DNS, IP, Mac, etc.
A. Win98: winipcfg
B. Win2000 or above: ipconfig/all
C. NSLookup: for example, view the DNS in HebeiC: "> NSLookupDefault Server: ns.hesjptt.net.cnAddress: 202.99.160.68> Server 202.99.41.2: Change DNS to 41.2> Pop.pcpop.comServer: ns.hesjptt.net.cnAddress: 202.99.160.68
Non-
/wyfs02/M02/7D/48/wKiom1bkOuCCsWWNAAAXKgD9lHA973.png "title=" 3.png " alt= "Wkiom1bkouccswwnaaaxkgd9lha973.png"/>Client Installation glances:[email protected] ~]# yum install-y epel-release[[email protected] ~]# yum install-y glancesStart at the server side first:[[email protected] ~]# Glances-s-B 192.168.1.8Glances server started the 192.168.1.8:61209You can see that the port number used by glances is 61209, so the user needs to make sure that the firewall is open. below, the client uses the f
Today, we share the Win7 operating system using DOS commands to view network connectivity, users often encounter a port is occupied, so it is necessary to see port usage, but many users do not know how to view, in the Win7 operating system can use the DOS command to view. This article describes the use of DOS commands to view
Ifconfig1. After the remote terminal to enter the logout to exit, otherwise the user information will be stuck in Linux 2. Netstat-tuln can be used to see how many ports the service is normally open Netstat-an See the connection status of all Networks 3.netstat-an | grep established | wc-l The command connection using the pipe symbol can see the current and how many users are connecting 4.netstat-rn and Route-n commands can see the Gateway 5.nsl
16. Network ManagementFive network elements:MAC addressIP addressNetwork maskGatewayDNS: convert an IP address to a domain namePingIfconfigRoute/Etc/resolv. confNetstatIPNMAP
Run CAT/etc/resolv. conf to view the DNS and obtain the nameserver 192.168.0.1.
Ping Google. Ca. If a packet is returned, it indicates it is successful.
Ping Google. Ca involves six steps:1. DNS domain name resolution, that is, t
1.write sending information to online usersWrite User nameContentCtrl+d Save End2.wall (write all) send information to all online usersWall InformationCtrl+d Save End3.mail e-MailMail User nameTitleContentCtrl+d Save EndTap Mail to see if there are any messages1 Viewing the first messageH Return to mailing listD 1 Delete the first messageQ exit4.last View login information for each userLastlog View Last Login informationLastlog-u 500 View 500 Last login information for this user5.traceroute show
1,netstatThe function of the netstat command is to display network connections, routing tables, and network interface information to let users know which network connections are in operation. [1] When used without parameters, Netstat displays the active TCP connection.View command: Netstat-ano |grep 6379, which can be used to view the usage of a port.Netstat-an a
Command name: PingFunction: Test network connectivityCommand path:/bin/pingUsage: ping [-c] IP addressParameters:-C specify number of times to sendCommand name: ifconfigFunction: View and set network card information (temporary settings)Command path:/sbin/ifconfigUsage: ifconfig [NIC name] [IP Address]Example:Ifconfig eth0 192.168.1.1Command name: tracerouteFunction: Displays the path between the packet and
Always use the ifconfig command to view network connections in CentOS, including IP addresses, MAC addresses, and network connection status. After upgrading to CentOS 7, ifconfig cannot be found. Previously, this command has been deprecated and switched to the ip address command. The same thing happened in RHEL 7, Oracle Linux 7, and Scientific Linux 7 minimal versions.In CentOS 7 minimal system, you can us
PCs, the same port number is not associated)4. Transport Layer port number classification? 5. What are the common ports in network services? What is the respective port number? SNMP trap: A type of ingress that arrives at the ingress that enables SNMP-managed devices to proactively notify the SNMP manager instead of waiting for the SNMP manager to poll again6.netstat commandThe netstat command is used to print the status information of
Summary of basic network port operation commands in CentOSThis article mainly introduces the basic network port operation commands of Linux system, including solutions for port conflict. For more information, see
Close the portIptables-a input-p tcp-dport 111-j DROP
Open PortIptables-a input-p tcp-dport 111-j ACCEP
General Network related command interpretation under DOS
Arp
Displays and modifies an Ethernet-IP or Token-ring Physical address translation table used by the Address Resolution Protocol (ARP). This command is only installed with the TCP/IP association
Only after the discussion is available.
arp-a [INET_ADDR] [-N][if_addr]]
Arp-d inet_addr [if_addr]
Arp-s inet_addr ether_addr [if_addr]
Parameters
-A
Displays the current ARP entry by asking TCP/IP. If
(1) ping command
The ping command is used to check whether the network is smooth and the network connection speed. Each computer in the network has a unique IP address. We send a packet to the target IP address, the other party needs to use a packet of the same size, so that we can determine whether the target IP address exists. Common ping
1. Ping Command
Ping is used to determine whether the local host is connected to another host on the network. According to the default settings, the ping command running on Windows sends four ICMP echo request messages, each containing 32 bytes of data. If the network is connected, we should be able to receive four ICMP echo reply messages. The following describes how to use common parameters:
(1) Ping-
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.