Github: scripts - Some useful scripts¶
https://github.com/neoctobers/scripts
Clone¶
$ git clone git@github.com:neoctobers/scripts.git
Windows¶
Add the absolute path to PATH. Then you can easily use these commands everywhere.
Linux¶
+x:
$ sudo chmod +x /path/to/scripts/linux/*
Create /etc/profile.d/add_to_path.sh:
$ sudo nano /etc/profile.d/add_to_path.sh
Edit with one line:
export PATH=/path/to/scripts/linux:$PATH
Permit:
$ sudo chmod +x /etc/profile.d/add_to_path.sh
Add to sudo:
$ sudo visudo
Add /path/to/scripts/linux in secure_path="...".
Reboot