You are not logged in.
Pages: 1
Hi!
In the last days I wrote a special login/mount script for my linux-clients, to automatically mount all share for a specific user. It works perfectly
But I don't know, where is the right place for this script. It's a global script for all users on the system.
I moved it to /usr/local/bin, correct?
Best regards,
Flasher
Offline
Yeah, typically system-wide stuff like that would be placed in /usr/local, and personal scripts go in ~/
For instance, if the script was for more than just me, it'd go to /usr/local/bin/, but if it was for only me, I'd do it in ~/bin/
Offline
Wow help from the big boss Thank you!
Why I don't get help from Bill Gates, when I have windows problems?
Greetings,
Flasher
Offline
Wow help from the big boss Thank you!
Hah, I didn't get that post count doing nothing
Offline
Why I don't get help from Bill Gates, when I have windows problems?
Because you are currently 759,027,890,875,902,869,057,472,907,858,907,278,976,903,478,690,582,906 in line for help with your oldest windows problem. :D:D
(horribly off-topic, but sorry; couldn't resist that one...)
Do you want a Bubble Icon? Feel free to submit your requests or personal creations to be included in future releases.
I'm 100% Linux!
Offline
I tried to put my pacman-cage script in /usr/local/bin and I had type out the full path to run the script in terminal.
I put it in /usr/bin where everything else is located and it runs...
pacman-cage
from terminal. So where do script files go again if they are to be used system wide?
Offline
/usr/local/bin or /usr/local/sbin are still good places.....you just need to update your PATH variable
Scott
do u wanna expand on your answer a little more?
Offline
add the line
export PATH=/usr/local/bin:/usr/local/sbin:$PATH
to your ~/.bashrc file or to make it global, your /etc/rc.local file.
/usr/local/bin is a nice place to keep custom scripts as it isn't generally used by Arch packages (they default to /usr/bin)
'I cannot teach anybody anything, I can only make them think...'
Offline
Anyone else here feel an irrational need to keep their personal scripts in ~/.bin to hide it from graphical file managers?
Offline
nope.
Not at all.
Offline
Anyone else here feel an irrational need to keep their personal scripts in ~/.bin to hide it from graphical file managers?
Yep, I in fact keep ~/.bin which symlinks to dirs like ~/.scripts (scripts I wrote), ~/.apps (third party apps that didn't warrant an install via pacman), etc. Don't need that clutter when ls'ing or browsing w/ konqueror.
-nogoma
---
Code Happy, Code Ruby!
http://www.last.fm/user/nogoma/
Offline
Pages: 1