The ifconfig command manages network interfaces, helping configure and troubleshoot network settings.
DevOps
Use sudo apt install net-tools to get ifconfig on your Ubuntu system.
DevOps
Run ifconfig to list all active network interfaces and their configurations.
DevOps
Use ifconfig eth0 192.168.1.1 to assign an IP address to a network interface.
DevOps
Use ifconfig eth0 up or ifconfig eth0 down to enable or disable a network interface.
DevOps