[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: A stylistic question?



On Mon, Jun 28, 1999 at 01:04:06PM +0200, Jack Versfeld wrote:
> 
> 
> Michael Talbot-Wilson wrote:
> 
> > > Hi.  I finally worked out how to do the Linux equivalent of batch files
> > > (scripts) and was wondering if there was a generally accepted directory
> > > for keeping user (and/or root) scripts in.
> >
> > I don't think there is, but it is generally accepted that anything that is not host-specific (such as binaries, which depend on the CPU) should go under /usr/share.
> >
> > Unless someone has a better idea I would put general-purpose scripts in /usr/share/bin.
> >
> > --
> > Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
> 
> Even better, make a bin subdirectory in your $HOME for user scripts (like the script that wake me every morning), and all system-wide scripts (like admin stuff, or
> useful scripts you might dream up) in /usr/local/bin.
> 
> Just add your $HOME/bin to your path in .bash_profile or .bashrc
> 
> Jack
> 
> 

Actually, you can keep your local admin scripts in /usr/local/sbin and the
local user scripts in /usr/local/bin.  I also use the $HOME/bin directories
for any personal scripts.

Mike

-- 
Michael Merten                   NRA Life Member (http://www.nra.org)
ironfoot@popaccount.com      Debian GNU/Linux (http://www.debian.org)
                    CenLA-LUG (http://www.angelfire.com/la2/cenlalug)
--  
Try to remove the color-problem by restarting your computer several
times.  -- Microsoft-Internet Explorer README.TXT


Reply to: