Well, too lazy to execute the commands to launch my vpn, rsync commands etc I created a bash script which does it for me.
Well, that did not make me happy either, because I have to cd into the directory where my scripts are and then run them. Errr…. my time is too precious to do that (I am too lazy to do that).
Thinking why not execute my scripts from using anywhere just like I launch any other standard linux commands???
Google again, and I stumbled upon this thread on asubuntu.com
Life saver 🙂 Joe Oppegaard.
Create a bin folder in home directory:
Copy scripts into the folder:
Edit ~/.bashrc adding below to the end of the file:
Open new terminal and enter the script name to executing the script from anywhere in terminal.