Some useful homemade CLI scripts.
If you're a Windows user, now is a good time to switch to Linux and claim your freedom!
-
git clone https://github/com/nicordev/cli_script.gitclone the repository. -
sudo ln /pathTo/requestedScript /usr/local/bincreate a link to/usr/local/binfolder, thus allowing the script to be called anywhere in the terminal and be updated after agit pull origin master.- If you don't need the script to be updated, just copy it:
sudo cp /pathTo/requestedScript /usr/local/bin
- If you don't need the script to be updated, just copy it:
-
Bonus: create an alias of the script in your
~/.bashrcfile to make awesome combinations:alias please_do_something="scriptFileNameOrWhateverYouNeedToRun"