ifconfig — View Network Settings
The ifconfig (interface configuration) command shows network interface details.
Syntax : ifconfig [OPTIONS]
Note: iwconfig is similar but used only for wireless interfaces.
ifconfig– Display network configuration informationip addr show– Modern replacement forifconfig
ifconfigcan temporarily change network settings, but permanent changes should be done using network configuration tools, not ifconfig.