Chapter 59. More About ifconfig

Want to learn something that will make your Windows-based friends squirm with feelings of geek-envy and inadequacy? Of course you do. Well, jump out of the GUI for bit and join us on the command line as we explore the magic of the ifconfig command.

ifconfig is one of the handiest tools around for tweaking your home network or resolving networking difficulties with your laptop while you’re on the road. It’s used in two ways: to display the status of your network devices, and/or to configure those devices.

Show Me Your Network Devices

To display the status of all your network devices, enter ifconfig -a from the CLI. On my system, I need to either specify the complete path name (“/sbin/ifconfig -a”) when I enter the command, ...

Get CLI for Noobies: A Primer on the Linux Command Line now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.