Linux Network command

IP :
The
ipcommand in Linux is a powerful utility for network configuration and management. It allows users to perform various networking tasks such as configuring network interfaces, routing tables, and tunnels. Here are some common uses of theipcommand:Show network interfaces:
ip addr show
Add a new network interface:
ip link add <interface_name> type <type>
ifconfig :
ifconfigis a command-line utility in Unix-like operating systems, including Linux, that is used to configure and display information about network interfaces.The syntax is
ifconfignslookup :
Which is helpful for network troubleshooting and DNS tasks.
The general syntax for the nslookup command is:
nslookup google.comnetstat :
The netstat command is a networking utility that shows various networking statistics.
netstat -attraceroute :
The traceroute command is a networking tool available for Linux, macOS and windows. The command tracks the route that packets take to reach a destination on a TCP/IP network
traceroute -T 184.95.56.32tracepath :
The tracepath command find out paths and latencies from source to destination
tracepath 184.172.3.32hostname :
The hostname command helps display and change a system's hostname and domain
hostnameping :
The ping command is a network utility for testing whether a host is reachable. The command sends ICMP request to a host and measures the round-trip time.
ping -c google.com