There are numerous scripts that I have written for my server. Some of them are in my ~/scripts and some of them are in application directories.
I am just wondering is there a directory that you would normally use to keep your shell scripts?
|
There are numerous scripts that I have written for my server. Some of them are in my I am just wondering is there a directory that you would normally use to keep your shell scripts? |
||||
|
|
|
Personal ones for my account, |
|||||||||||||||||||
|
|
For more complex stuff, especially something that could be shared between multiple machines I tend to make distribution packages, Debian in my case. I use |
|||
|
|
At the moment I use ~/bin for my personal (quick and dirty :P) scripts and /usr/local/bin (or sbin) for system wide ones Both directories are under revision control via git. |
|||
|
|
|
I currently use /usr/local/$company/scripts for system-wide scripts, and ~/bin for personal. I also have a ~/code folder that contains work-in-progress stuff. |
|||
|
|
|
I use ~/.bin |
|||
|
|