Unix Shell - Re: full path of a script

This is Interesting: Free IT Magazines  
Home > Archive > Unix Shell > September 2007 > Re: full path of a script





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: full path of a script
Martin Krischik

2007-09-25, 7:30 am

Miles schrieb:
> On Sep 24, 12:42 pm, Martin Krischik <krisc...@users.sourceforge.net>
> wrote:
>
> I don't know if this works for everyone: our UNIX admin scripts are
> mainly in one directory. It happens to be /home/unxsa/bin - unx is
> UNIX and sa for System Administration. That doesn't really matter. So,
> I have an environment variable defined in /etc/profile:
>
> UNIX_SYSTEM_DIRECTORY=/home/unxsa
>
> I also define: SCRDIR=$UNIX_SYSTEM_DIRECTORY/bin
>
> Then if I ever need to know where the scripts are, I do.
>
> Is this just naive?


No not relay - only I am not wearing my an administrator hat but a
developers hat and the Script is not for production but development.
Your suggestion would mean 2 environment variables to be set by each
developer. And we already need approx. 3 days to get a developers
workstation up and running.

Any way: that's for all the suggestions. I learned something new :-) .

Martin
--
mailto://krischik@users.sourceforge.net
Ada programming at: http://ada.krischik.com
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com