start new:
tmux
start new with session name:
tmux new -s myname
| #! /usr/bin/env bash | |
| # shellcheck disable=SC2059 | |
| set -euo pipefail | |
| # Toggle all currently 'Active' network servcies (e.g., Wi-Fi, Ethernet | |
| # connections, etc...) to "restart" them. We'll ignore any already 'Disabled' | |
| # services, and toggle all of the others to 'Disabled' and then back to | |
| # 'Enabled'. This has been found helpful when your VPN won't re-connect after | |
| # undocking and re-docking your MacBook, for example. |