Ifconfig (Linux)
ifconfig (short for interface configuration) is a
command-line utility used in Unix-like operating systems, including Linux, macOS,
and BSD, to configure, control, and query network interface parameters. Here
are some key points about ifconfig:
Functionality: It allows users to set IP addresses, subnet masks, and enable or disable network interfaces. It can also be used to view the current configuration of network interfaces.
Usage: Common commands include ifconfig to display all
active interfaces, ifconfig [interface] up to enable an interface, and ifconfig
[interface] down to disable an interface.
Deprecation: In many modern Linux distributions, ifconfig
has been deprecated in favor of the ip command from the iproute2 package, which
offers more features and better support for modern networking needs.
No comments:
Post a Comment