This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
настройка_сети_в_linux [2022/11/15 13:55] val [Файлы конфигурации Ubuntu >= 18] |
настройка_сети_в_linux [2023/03/17 10:55] val [Файлы конфигурации ifupdown (Debian/Ubuntu<18)] |
||
---|---|---|---|
Line 178: | Line 178: | ||
<code> | <code> | ||
+ | client1# dhclient eth0 | ||
+ | |||
client1# cat /etc/hostname | client1# cat /etc/hostname | ||
</code><code> | </code><code> | ||
Line 183: | Line 185: | ||
</code><code> | </code><code> | ||
client1# :> /etc/resolv.conf | client1# :> /etc/resolv.conf | ||
- | </code><code> | + | </code> |
+ | |||
+ | или [[Система безопасности UNIX#Команда chattr]] | ||
+ | |||
+ | <code> | ||
client1# cat /etc/hosts | client1# cat /etc/hosts | ||
</code><code> | </code><code> |