📄 netstart
字号:
#!/bin/sh -## @(#)netstart 8.1 (Berkeley) 7/23/93routedflags=-qtimedflags=YESrwhod=NO# myname is my symbolic name# my-netmask is specified in /etc/networks#hostname=myname.my.domainhostname $hostnameifconfig ace0 inet $hostname netmask my-netmaskifconfig ex0 inet $hostname netmask my-netmaskifconfig imp0 inet $hostnameifconfig le0 inet $hostname netmask my-netmaskifconfig ne0 inet $hostname netmask my-netmaskifconfig we0 inet $hostname netmask my-netmask# For en ethernet interface, load microcode before ifconfig# /etc/enpload /dev/enp0ram /etc/enpcode > /dev/console 2>&1ifconfig en0 inet $hostname netmask my-netmask# set the address for the loopback interfaceifconfig lo0 inet localhost# use loopback, not the wireroute add $hostname localhost
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -