


Étudies grâce aux nombreuses ressources disponibles sur Docsity
Gagnz des points en aidant d'autres étudiants ou achete-les avec un plan Premium
Cette page n'est pas visible dans l'aperçu
Ne manques pas les parties importantes!



1. ping - Syntax: ping [destination IP/domain] - Functionality: This command tests network connectivity between the device and a target host by sending ICMP Echo Request packets and receiving Echo Reply responses. - Use Case: Verifying if a remote host, such as a gateway, DNS server, or external server, is reachable across the network. 2. Traceroute (Linux) / tracert (Windows) - Syntax: o traceroute [destination] o tracert [destination] - Functionality: This command traces the route packets take to reach a destination by displaying each hop and its latency. It helps identify delays or failures in the network path between the source and destination. - Use Case: Diagnosing routing issues and understanding the path to a destination. 3. ipconfig (Windows) / ifconfig (Linux/Unix/macOS) - Syntax: - ipconfig (Windows) - ifconfig (Linux/Unix/macOS) - Functionality: This command displays network interface configuration details, including IP address, subnet masks, default gateways, and DNS servers. - Use Case: Troubleshooting network connectivity issues by viewing IP details. 4. netstat - Syntax: o netstat - a (all active connections) o netstat - r (routing table) o netstat - i (interface stats) - Functionality: This command provides a snapshot of active network connections, port statuses, routing tables, interface statistics, and more. - Use Case: Troubleshooting network connections, ports, and routing issues. 5. nslookup - Syntax: nslookup [domain] - Functionality: This command performs manual DNS queries to convert domain names into IP addresses and also works in reverse.
17. nc (Netcat) - Syntax: nc [destination] [port] - Functionality: This command reads and writes data across network connections using TCP or UDP. It is often called the “Swiss army knife” of networking. - Use Case: Testing open ports and connectivity on remote hosts. 18. ethtool (Linux) - Syntax: ethtool [interface] - Functionality: This command displays and modifies network interface settings, such as speed, duplex mode, auto-negotiation, and driver information. - Use Case: Checking Ethernet interface speed and duplex settings. 19. mtr - Syntax: mtr [destination] - Functionality: This command combines the functionality of ping and traceroute, providing real-time path analysis. It continuously displays latency and packet loss statistics for each hop between the source and destination. - Use Cases: Diagnosing network performance issues by identifying problematic hops. 20. ss - Syntax: ss - tuln (to show listening TCP/UDP ports) - Functionality: A modern replacement for netstat, this command analyzes socket-level statistics, such as open and listening ports. - Use Case: Checking for active connections and open ports. 21. netsh - Syntax: netsh interface ip show config - Functionality: This command-line scripting utility is used to display or modify network configurations on Windows. - Use Case: Managing networking settings like IP, firewall, wireless, and more. 22. iwconfig (Linux) - Syntax: iwconfig - Functionality: This command is used to configure and display wireless network interface parameters in Linux. - Use Case: Viewing or configuring wireless interfaces and settings.