Created
June 28, 2019 08:35
-
-
Save Humoud/0b18c64622effe771ac15988bf384fcc to your computer and use it in GitHub Desktop.
Automate CTF env setup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#################### | |
# colors | |
green=`tput setaf 2` | |
reset=`tput sgr0` | |
#################### | |
echo "${green}Switching directory...${reset}" | |
cd /mnt/hgfs/share/offshore/ | |
echo "${green}Launching cherrytree...${reset}" | |
cherrytree ct/ct_notes.ctb & | |
sleep 1 | |
echo "${green}Opening 2 new terminal tabs...${reset}" | |
gnome-terminal --tab --tab | |
sleep 1 | |
echo "${green}Staring up VPN connection...${reset}" | |
openvpn eu-offshore-2-ma4j0r.ovpn |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment