Rereading of .bash_profile

Fabio Fracassi f.fracassi at gmx.net
Tue Jan 2 09:08:49 PST 2001


On Saturday 30 December 2000 10:15, you wrote:
> : On Sat, 30 Dec 2000 00:19:02 -0500, Perrin Aybara wrote:
> :
> >The period, as far as I
> >know, pretty much stands for "run this".
>
> The "." is the same as "source"

that is not true, a "." before a filename makes the file "hidden", i.e. ls 
without special parameters does not show them. (Unix has no hidden attribut)

as for using "sh" or "source", there is a great difference, since "sh" starts 
a new shell and executes the script in that new shell (the old one remains 
and wastes resources), whereas "source" executes it in the same shell.

if ~/.bash_profile has execute permisions, the source is assumed by bash if 
you execute a text file.


-- 
Unsubscribe: send email to lfs-discuss-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message




More information about the lfs-dev mailing list