“Though you can usually manage your network settings via the GUI
in most Linux distros these days, it’s always good to be familiar
with the command-line tools. So we’re going to review some select
commands from a couple of tools that are typically included in the
popular Linux distros. Remember, if you want full details on the
tool and its options, refer to its man page: type man followed by
the tool name. Now bring up a terminal and let’s get started!
ifconfig for basic interface and IP configuration“The ifconfig tool (derived from interface configurator)
provides a few very basic, but important, functions. It lets you
turn network adapters on and off and assign IP address and netmask
details. Here are some of the common commands:“View current configuration of network interfaces, including the
interface names:”
7 Useful Linux Networking Commands
By
Eric Geier
Get the Free Newsletter!
Subscribe to Developer Insider for top news, trends, & analysis