<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: How BASH Shell Command Search Sequence Works</title> <atom:link href="http://www.cyberciti.biz/tips/an-example-how-shell-understand-which-program-to-run-part-ii.html/feed" rel="self" type="application/rss+xml" /><link>http://www.cyberciti.biz/tips/an-example-how-shell-understand-which-program-to-run-part-ii.html</link> <description>This is a Linux sys admin journal by Vivek about sys admin work, Linux tips &#38; tricks, hacks, news and more.</description> <lastBuildDate>Fri, 10 Feb 2012 20:37:43 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: Anoop</title><link>http://www.cyberciti.biz/tips/an-example-how-shell-understand-which-program-to-run-part-ii.html#comment-172500</link> <dc:creator>Anoop</dc:creator> <pubDate>Fri, 15 Jul 2011 18:02:38 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/an-example-how-shell-understand-which-program-to-run-part-ii.html#comment-172500</guid> <description>Thank you! I found the hash -r part very useful!</description> <content:encoded><![CDATA[<p>Thank you! I found the hash -r part very useful!</p> ]]></content:encoded> </item> <item><title>By: Nizzy</title><link>http://www.cyberciti.biz/tips/an-example-how-shell-understand-which-program-to-run-part-ii.html#comment-151349</link> <dc:creator>Nizzy</dc:creator> <pubDate>Thu, 29 Oct 2009 21:55:17 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/an-example-how-shell-understand-which-program-to-run-part-ii.html#comment-151349</guid> <description>I finally executed the function, however, it will not execute in the next login even if I have the path in the PATH.
if I source the func_file, then I can execute, but then I have to source each time..why?</description> <content:encoded><![CDATA[<p>I finally executed the function, however, it will not execute in the next login even if I have the path in the PATH.</p><p>if I source the func_file, then I can execute, but then I have to source each time..why?</p> ]]></content:encoded> </item> <item><title>By: Nizzy</title><link>http://www.cyberciti.biz/tips/an-example-how-shell-understand-which-program-to-run-part-ii.html#comment-151348</link> <dc:creator>Nizzy</dc:creator> <pubDate>Thu, 29 Oct 2009 21:00:28 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/an-example-how-shell-understand-which-program-to-run-part-ii.html#comment-151348</guid> <description>somehow the word function does not execute.
which is correct?
function func_name() {
}
or
func_name() {
}
or
function func_name {
}
if put the plain test into hello file, then command hello prints. but if I make it a function, it returns nothing, but does not give error.
please help</description> <content:encoded><![CDATA[<p>somehow the word function does not execute.</p><p>which is correct?<br
/> function func_name() {<br
/> }<br
/> or<br
/> func_name() {<br
/> }<br
/> or<br
/> function func_name {<br
/> }</p><p>if put the plain test into hello file, then command hello prints. but if I make it a function, it returns nothing, but does not give error.</p><p>please help</p> ]]></content:encoded> </item> <item><title>By: Philippe</title><link>http://www.cyberciti.biz/tips/an-example-how-shell-understand-which-program-to-run-part-ii.html#comment-148284</link> <dc:creator>Philippe</dc:creator> <pubDate>Fri, 24 Apr 2009 13:54:04 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/an-example-how-shell-understand-which-program-to-run-part-ii.html#comment-148284</guid> <description>Very interesting and informative. Thank you for taking the time to post this.</description> <content:encoded><![CDATA[<p>Very interesting and informative. Thank you for taking the time to post this.</p> ]]></content:encoded> </item> <item><title>By: Diptanjan</title><link>http://www.cyberciti.biz/tips/an-example-how-shell-understand-which-program-to-run-part-ii.html#comment-140174</link> <dc:creator>Diptanjan</dc:creator> <pubDate>Tue, 12 Jun 2007 13:24:36 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/an-example-how-shell-understand-which-program-to-run-part-ii.html#comment-140174</guid> <description>Simple and to the point.</description> <content:encoded><![CDATA[<p>Simple and to the point.</p> ]]></content:encoded> </item> <item><title>By: sathiya</title><link>http://www.cyberciti.biz/tips/an-example-how-shell-understand-which-program-to-run-part-ii.html#comment-19481</link> <dc:creator>sathiya</dc:creator> <pubDate>Sun, 04 Jun 2006 16:17:00 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/an-example-how-shell-understand-which-program-to-run-part-ii.html#comment-19481</guid> <description>&lt;B&gt;
simply superb
&lt;/B&gt;</description> <content:encoded><![CDATA[<p><b><br
/> simply superb<br
/> </b></p> ]]></content:encoded> </item> <item><title>By: Anonymous</title><link>http://www.cyberciti.biz/tips/an-example-how-shell-understand-which-program-to-run-part-ii.html#comment-19480</link> <dc:creator>Anonymous</dc:creator> <pubDate>Sun, 19 Feb 2006 11:52:00 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/an-example-how-shell-understand-which-program-to-run-part-ii.html#comment-19480</guid> <description>The description while simple, is acturate enough for most modern shells (zsh, bash, *ksh, *csh)
Regards,
Pete
PS: Aliases, Functions and Builtins have to be above external commands in the search order as the shell can not be customised internally if external commands are given priority. Consider, alias ls=&#039;ls -aF&#039; as an example, this allow a user to essentially customise there POSIX Environment (Standardised UNIX Like Environment -- Linux is a KERNEL, not an operating system) without the need for external commands.</description> <content:encoded><![CDATA[<p>The description while simple, is acturate enough for most modern shells (zsh, bash, *ksh, *csh)</p><p>Regards,</p><p>Pete</p><p>PS: Aliases, Functions and Builtins have to be above external commands in the search order as the shell can not be customised internally if external commands are given priority. Consider, alias ls=&#8217;ls -aF&#8217; as an example, this allow a user to essentially customise there POSIX Environment (Standardised UNIX Like Environment &#8212; Linux is a KERNEL, not an operating system) without the need for external commands.</p> ]]></content:encoded> </item> <item><title>By: Anonymous</title><link>http://www.cyberciti.biz/tips/an-example-how-shell-understand-which-program-to-run-part-ii.html#comment-19479</link> <dc:creator>Anonymous</dc:creator> <pubDate>Mon, 13 Feb 2006 01:21:00 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/an-example-how-shell-understand-which-program-to-run-part-ii.html#comment-19479</guid> <description>Built-in command --&gt; external commands.
I think the author used bash shell as an example here, so it is BASH specific stuff.
Best Regards,
Mike</description> <content:encoded><![CDATA[<p>Built-in command &#8211;&gt; external commands.</p><p>I think the author used bash shell as an example here, so it is BASH specific stuff.</p><p>Best Regards,</p><p>Mike</p> ]]></content:encoded> </item> <item><title>By: jmarki</title><link>http://www.cyberciti.biz/tips/an-example-how-shell-understand-which-program-to-run-part-ii.html#comment-19478</link> <dc:creator>jmarki</dc:creator> <pubDate>Mon, 13 Feb 2006 01:05:00 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/an-example-how-shell-understand-which-program-to-run-part-ii.html#comment-19478</guid> <description>Is this only for the bash shell or for most of the common shells being used (tcsh, sh)?</description> <content:encoded><![CDATA[<p>Is this only for the bash shell or for most of the common shells being used (tcsh, sh)?</p> ]]></content:encoded> </item> <item><title>By: Anonymous</title><link>http://www.cyberciti.biz/tips/an-example-how-shell-understand-which-program-to-run-part-ii.html#comment-19477</link> <dc:creator>Anonymous</dc:creator> <pubDate>Sun, 12 Feb 2006 23:37:00 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/an-example-how-shell-understand-which-program-to-run-part-ii.html#comment-19477</guid> <description>great stuff but why cant u explain other topic also like &quot;PAM&quot; &quot;CRON&quot; ?
PRASHANT K</description> <content:encoded><![CDATA[<p>great stuff but why cant u explain other topic also like &#8220;PAM&#8221; &#8220;CRON&#8221; ?<br
/> PRASHANT K</p> ]]></content:encoded> </item> <item><title>By: Hatim</title><link>http://www.cyberciti.biz/tips/an-example-how-shell-understand-which-program-to-run-part-ii.html#comment-19476</link> <dc:creator>Hatim</dc:creator> <pubDate>Sun, 12 Feb 2006 20:29:00 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/an-example-how-shell-understand-which-program-to-run-part-ii.html#comment-19476</guid> <description>Neat</description> <content:encoded><![CDATA[<p>Neat</p> ]]></content:encoded> </item> <item><title>By: Vurdlak</title><link>http://www.cyberciti.biz/tips/an-example-how-shell-understand-which-program-to-run-part-ii.html#comment-19475</link> <dc:creator>Vurdlak</dc:creator> <pubDate>Sat, 11 Feb 2006 20:25:00 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/an-example-how-shell-understand-which-program-to-run-part-ii.html#comment-19475</guid> <description>this is great stuff can i get permission to publish it on my c++ maniac blog?? i&#039;ll inlude your link!</description> <content:encoded><![CDATA[<p>this is great stuff can i get permission to publish it on my c++ maniac blog?? i&#8217;ll inlude your link!</p> ]]></content:encoded> </item> </channel> </rss>
