Results 1 to 2 of 2
Thread: Adding a script for everyone
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Oct 2008
Adding a script for everyone
The title is probably misleading but heres what i want im trying to do:
Lets say i create a script called fish and store it in e.g. /home/me, is there any way that i can call that script simply by typing 'fish' rather than typing /home/me/fish?
Sorta like when u want to call iptables, u can just type 'iptables' rather than '/sbin/iptables'
Any help is greatly appreciated, thanks
You need to put the script somewhere in your path e.g. /usr/local/bin, /home/me/bin etc.