In Linux I tend to create my own scripts to try to automate the most stuff possible. In order to do so I used to create a new file in /usr/local/bin, make it executable and then start writing script into that file :

touch /usr/local/bin/my-script
chmod +x /usr/local/bin/my-script
vim /usr/local/...

Continue reading