making a variable for the shell

Scott Berry sberry at northlc.com
Sat Apr 14 22:20:21 UTC 2007


Okay thanks much.  I have the cron job set up under /home/Cron Scripts so 
this should work.

Scott
----- Original Message ----- 
From: "Mikkel L. Ellertson" <mikkel at infinity-ltd.com>
To: "For users of Fedora" <fedora-list at redhat.com>
Sent: Saturday, April 14, 2007 4:45 PM
Subject: Re: making a variable for the shell


> Scott Berry wrote:
>> Hello there,
>>
>> I would like to tell Bash that /home/ShellScripts/ is a path that I want
>> to be seen all the time.  How would one do this or what man page would I
>> consult?
>>
>> Scott
>>
> In ~/.bash_profile, add something like:
>
> PATH=$PATH:/home/ShellScripts/
>
> export PATH
>
> But I think the default setup is:
> PATH=$PATH:$HOME/bin
>
> This lets you create a bin directory in your home directory to put
> your scripts in. Usually, local scripts that you want all users to
> be able to access are put in /usr/local/bin. A world writable
> directory on your path is not a good idea...
>
> Mikkel
> -- 
>
>  Do not meddle in the affairs of dragons,
> for thou art crunchy and taste good with Ketchup!
>
> -- 
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>
>
>
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.446 / Virus Database: 269.4.0/760 - Release Date: 4/13/2007 
> 8:04 PM
>
> 




More information about the fedora-list mailing list