shell-network/alias/networkd

14 lines
466 B
Plaintext
Raw Permalink Normal View History

2023-02-07 12:45:27 -08:00
if [[ $(which systemctl) ]]; then
alias nws="sudo systemctl start systemd-networkd"
alias nwe="sudo systemctl enable systemd-networkd"
alias nwd="sudo systemctl disable systemd-networkd"
alias nwstp="sudo systemctl stop systemd-networkd"
alias nwr="sudo systemctl restart systemd-networkd"
alias nwdst="systemctl status systemd-networkd"
alias nwj="journalctl -u systemd-networkd"
alias nw="networkctl"
alias nwst="networkctl status"
alias nwl="networkctl lldp"
2023-02-07 12:45:27 -08:00
fi