From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fa528,1fcb2333482dcee6 X-Google-Attributes: gidfa528,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!news.germany.com!news.nask.pl!news.nask.org.pl!newsfeed.tpinternet.pl!nemesis.news.tpi.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail From: Piotr Hosowicz Newsgroups: comp.unix.tru64 Subject: Re: some queris on .profile file Date: Sat, 17 Jun 2006 20:56:38 +0200 Organization: tp.internet - http://www.tpi.pl/ Message-ID: References: <1150366558.414200.141250@p79g2000cwp.googlegroups.com> <1150449352.642566.101720@c74g2000cwc.googlegroups.com> <1150568477.954146.133060@f6g2000cwb.googlegroups.com> NNTP-Posting-Host: aapg171.neoplus.adsl.tpnet.pl Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Trace: nemesis.news.tpi.pl 1150570699 14314 83.5.140.171 (17 Jun 2006 18:58:19 GMT) X-Complaints-To: usenet@tpi.pl NNTP-Posting-Date: Sat, 17 Jun 2006 18:58:19 +0000 (UTC) User-Agent: Mozilla Thunderbird 1.0.7-1.1.fc4 (X11/20050929) X-Accept-Language: en-us, en In-Reply-To: <1150568477.954146.133060@f6g2000cwb.googlegroups.com> Xref: g2news2.google.com comp.unix.tru64:429 mehaboob@gmail.com wrote: > I did understand about your explanation for ./.profile > But what is the initail dot and space for? > i.e . ./.profile Hi Mehaboob, In some shells there is a command named source, if you do : source some-script.sh ... then some-script.sh is sourced into current running shell, meaning "including" the script some-script.sh. There are some gotchas, like for example if you have : exit .. in some-script.sh then it will exit the whole calling shell and not terminate "sourceing" some-script.sh. Single dot is equivalent to source'ing some script, so above is equivalent to : . some-script.sh -- No signature found.