If a 'bin' exists in the user home, then add that to the PATH.


/ Published in: PHP
Save to your folder(s)

Put this line in your .bashrc.
If the user has a directory named 'bin' then that will be added to the PATH.
All scripts in that path (wich are executable) will be available as commands to that user.

URL: http://webschuur.com

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.