shell-base/alias/iproute

6 lines
188 B
Plaintext

# bring an interface up or down
alias nid="sudo ip link set down"
alias niu="sudo ip link set up"
# restart wan interface including networkd restart
alias nir1="nid wan && niu wan && nwr"