Re: making a variable for the shell

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

 



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@xxxxxxxxxxxxxxxx>
To: "For users of Fedora" <fedora-list@xxxxxxxxxx>
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@xxxxxxxxxx
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




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux