Различия

Показаны различия между двумя версиями страницы.

Ссылка на это сравнение

Следующая версия
Предыдущая версия
system:ifconfig [2012/10/27 02:22] – внешнее изменение 127.0.0.1system:ifconfig [2017/11/28 14:49] (текущий) – [Eror: bash: ifconfig: command not found] mirocow
Строка 33: Строка 33:
 iface eth0 inet dhcp iface eth0 inet dhcp
 </code> </code>
 +
 +==== Eror: bash: ifconfig: command not found ====
 +
 +The ifconfig command has been deprecated and thus missing by default on Debian Linux, starting from Debian stretch.
 +
 +<code bash>
 +# ifconfig
 +-bash: ifconfig: command not found
 +</code>
 +
 +The new and recommended alternative for examining a network configuration on Debian Linux is ip command. For example to use ip command to display a network configuration run the following:
 +
 +<code>
 +# ip address
 +</code>
 +
 +The above [[system:ip|ip]] command can be abbreviated to:
 +
 +<code>
 +# ip a
 +</code>
 +
 +If you still prefer to use ifconfig as part of your daily sys admin routine, you can easily install it as part of the **net-tools** package.
 +