Security, PKI, sys and network admins

How to install and use tmux

How to install and use tmux

tmux is a very useful tool when working with the terminal. It basically allows you to start multiple sessions and each one of these sessions can have multiple panes inside it. tmux is a terminal tool focused on window and session management. tmux is available for: Debian/Ubuntu, Fedora, RHEL/CentOS, Arch Linux, OpenSUSE, macOS.


How to disable computer from sleeping?

Whenever I’d leave my computer open for more than 30-40 minutes without touching it, I’d always find it locked or with my VPN disconnected (which is really frustrating, especially when working remotely).

macOS

The command below will disable sleeping on your computer and it will keep it awake even if your laptop is not connected to a power source. So, open your terminal and type:

sudo pmset sleep 0