Making scripts globally acessible
Forum
  1. Forums
  2. General
  3. General Discussion
  1. Michael Thomas
  2. 12.03.2015
  3.  Subscribe via email
Brand new to cloudlinux and I am trying to learn the ropes. I am having trouble grasping the best way to do the following:

Make a script like WP CLI (http://wp-cli.org/) available to all users. It is in /usr/local/bin/ and I have figured out to make the whole local/bin folder globally accessible with a cfg file, but there is other stuff in there I do not have a reason to make globally acessible.

What is the best method to do this while still having the script accessible via just "wp" from the terminal?
Rate this post:


There are no replies made for this post yet.
Be one of the first to reply to this post!
Guest
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
Captcha
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.