This repository has been archived on 2022-02-20. You can view files and clone it, but cannot push or open issues/pull-requests.
bash-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"