IFCONFIG Commands Cheat Sheet
Here is a cli commands cheat sheet for IFCONFIG command, you can use this as a quick reminder for basic commands with a brief description for each of the commands.
What is IFCONFIG command?
Add some data here
# To display network settings of an interface: ifconfig# To display all interfaces, even if down: ifconfig -a # To take down / up the wireless adapter: ifconfig wlan0 {up|down} # To set a static IP and netmask: ifconfig eth0 192.168.1.100 netmask 255.255.255.0 # You may also need to add a gateway IP: route add -net 192.168.1.0 netmask 255.255.255.0 gw 192.168.1.1
Check out the IFCONFIG command documentation .
You can also check our MegaSh cheatsheet tool, that has 150+ searchable linux cheat sheets in one page, so you never forget a command as you work again