📄 nameif.8
字号:
.TH NAMEIF 8 "18 Oct 2000" "net-tools" "Linux's Administrator's Manual".SH NAMEnameif \- name network interfaces based on MAC addresses.SH SYNOPSIS.B "nameif [-c configfile] [-s]".br.B "nameif [-c configfile] [-s] {interface macaddress}".SH DESCRIPTION.B nameif renames network interfaces based on mac addresses. When no arguments aregiven .I /etc/mactabis read. Each line of it contains an interface name and a Ethernet MAC address. Comments are allowed starting with #. Otherwise the interfaces specified on the command line are processed..I nameiflooks for the interface with the given MAC address and renames it to thename given.When the .I -sargument is given all error messages go to the syslog.When the .I -c argument is given with a file name that file is read instead of /etc/mactab..SH NOTES.I nameifshould be run before the interface is up, otherwise it'll fail..SH FILES/etc/mactab.SH BUGSOnly works for Ethernet currently.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -