(C-x means ctrl+x, M-x means alt+x)
The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf
:
#!/usr/bin/env bash | |
if [ "$(id -u)" != "0" ]; then | |
echo "This script must be run as root" 1>&2 | |
exit 1 | |
fi | |
KMAJ="$(uname -r | cut -d. -f1)" | |
KMIN="$(uname -r | cut -d. -f2)" | |
if [ "${KMAJ}" != "4" ]; then | |
echo "This script has to be run on a 4.x kernel." 1>&2 |