I wrote a small bash script for starting, stopping and restarting my java applications and I want to make it available to all users so they could run it.
Should I just place it in /usr/bin to do that? Is it the right place for my scripts? Isn't that for like installed package script and stuff only?
| |||
|
feedback
|
|
Correct, | |||
|
feedback
|
|
I would recommend putting it in
Then you create two scripts in I think that this approach is cleaner then putting it in | |||
|
feedback
|
|
There is certainly nothing preventing you from placing a script in /usr/bin, giving it world-execute permissions (something like | |||||
feedback
|