1.5 Use the appropriate networking tools or configuration files Flashcards
ip command
Replaced the ifconfig command.
ss command
Information gathering utility with simpler output and syntax.
nmcli
Better output than the IP command
ifconfig command
Shows network info like MAC, IP, etc
ifcfg command
Used to set network interface parameters in Linux.
hostname command
Human-readable name of the device.
arp command
Used to relate IP and MAC address.
route command
Used to view the routing table.
/etc/sysconfig/network-scripts/
This is found on RHEL, CentOS, and Fedora. A directory that houses various config files for network interfaces on your system.
/etc/nsswitch.conf
Specifies the methods to use and the order in which to use them when looking for a certain type of information.
/etc/resolv.conf
Informing the system of the IP address of one or more DNS servers.
hostnamectl command
Shows the system’s network hostname and other info about the system’s hardware.
resolvectl command
Used to interact and manage DNS settings on Linux systems that use the systemd-reolved service.
dig command
Used for gathering information and testing name resolution.
nslookup command
Used to test name resolution.