LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Where to put program/script (https://www.linuxquestions.org/questions/linux-general-1/where-to-put-program-script-150820/)

cmfarley19 02-26-2004 12:53 PM

Where to put program/script
 
If I've written a script or program, where is the proper place to put it (or a symlink to it) so it is executable by everyone?

david_ross 02-26-2004 01:01 PM

I would usually use:
/usr/local/bin

bnice 02-26-2004 01:02 PM

/usr/bin should be in everyone's $PATH

cmfarley19 02-26-2004 01:14 PM

I agree with both, but permissions do not allow it for regular users.
Is this normal?

On a somewhat related note how do I see what users are members of what groups?

david_ross 02-26-2004 01:22 PM

Regular users shouldn' have write access but they should have access to the directory.

To find out what groups you are in - just type:
groups

Tinkster 02-26-2004 01:23 PM

Depends on how your machine is set-up...

And
less /etc/groups
will show you who's in which groups...



Cheers,
Tink


All times are GMT -5. The time now is 05:57 PM.