While practising CTF / Pentesting on platforms like TryHackMe / HackTheBox etc., some necessary steps need to be performed every single time such as-
- Spawn a new tmux session
- Use OpenVPN to connect with their private VPN server
- Authenticate with sudo (if non-root user)
- Create a new clean terminal (tmux window)
These usual jobs can be automated to increase productivity and save time-