<?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 Linux or UNIX Understand which program to run &#8211; PART I</title> <atom:link href="http://www.cyberciti.biz/tips/how-linux-or-unix-understand-which-program-to-run-part-i.html/feed" rel="self" type="application/rss+xml" /><link>http://www.cyberciti.biz/tips/how-linux-or-unix-understand-which-program-to-run-part-i.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: jack</title><link>http://www.cyberciti.biz/tips/how-linux-or-unix-understand-which-program-to-run-part-i.html#comment-141142</link> <dc:creator>jack</dc:creator> <pubDate>Wed, 19 Sep 2007 04:51:17 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/how-linux-or-unix-understand-which-program-to-run-part-i.html#comment-141142</guid> <description>i have 2 qs
1.  why the size of MBR is 512 bytes   and
2.  if suppose i m installing RHL 9.0 full install and suppose in between power goes off how do i continue installation from that point</description> <content:encoded><![CDATA[<p>i have 2 qs</p><p>1.  why the size of MBR is 512 bytes   and</p><p>2.  if suppose i m installing RHL 9.0 full install and suppose in between power goes off how do i continue installation from that point</p> ]]></content:encoded> </item> <item><title>By: monk</title><link>http://www.cyberciti.biz/tips/how-linux-or-unix-understand-which-program-to-run-part-i.html#comment-19474</link> <dc:creator>monk</dc:creator> <pubDate>Tue, 14 Feb 2006 02:46:00 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/how-linux-or-unix-understand-which-program-to-run-part-i.html#comment-19474</guid> <description>@Anonymous,
I appreciate your feedback and suggestion.
I shall edit the entire post tomorrow to fix all typos and grammar.</description> <content:encoded><![CDATA[<p>@Anonymous,</p><p>I appreciate your feedback and suggestion.</p><p>I shall edit the entire post tomorrow to fix all typos and grammar.</p> ]]></content:encoded> </item> <item><title>By: Anonymous</title><link>http://www.cyberciti.biz/tips/how-linux-or-unix-understand-which-program-to-run-part-i.html#comment-19473</link> <dc:creator>Anonymous</dc:creator> <pubDate>Mon, 13 Feb 2006 23:41:00 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/how-linux-or-unix-understand-which-program-to-run-part-i.html#comment-19473</guid> <description>Could use a rewrite.
For example:
This:
As you can see, shell has to do lots of stuff before find out correct executable file for you.
Should be:
As you can see, SHELL has to do many things before it can find the correct executable file for you.
It seems that you wrote this rather quickly and did not re-read it for errors, and that you did not have someone else read it for you.</description> <content:encoded><![CDATA[<p>Could use a rewrite.</p><p>For example:<br
/> This:<br
/> As you can see, shell has to do lots of stuff before find out correct executable file for you.</p><p>Should be:<br
/> As you can see, SHELL has to do many things before it can find the correct executable file for you.</p><p>It seems that you wrote this rather quickly and did not re-read it for errors, and that you did not have someone else read it for you.</p> ]]></content:encoded> </item> <item><title>By: monk</title><link>http://www.cyberciti.biz/tips/how-linux-or-unix-understand-which-program-to-run-part-i.html#comment-19472</link> <dc:creator>monk</dc:creator> <pubDate>Mon, 13 Feb 2006 10:58:00 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/how-linux-or-unix-understand-which-program-to-run-part-i.html#comment-19472</guid> <description>Tony thanks for quick piece of advice. I will update post.</description> <content:encoded><![CDATA[<p>Tony thanks for quick piece of advice. I will update post.</p> ]]></content:encoded> </item> <item><title>By: Tony</title><link>http://www.cyberciti.biz/tips/how-linux-or-unix-understand-which-program-to-run-part-i.html#comment-19471</link> <dc:creator>Tony</dc:creator> <pubDate>Sun, 12 Feb 2006 21:49:00 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/how-linux-or-unix-understand-which-program-to-run-part-i.html#comment-19471</guid> <description>It&#039;s actually slightly incorrect though.
It&#039;s the kernel that makes a lot of the decisions.
For example, when you type &quot;date&quot;, the shell looks through its PATH, finds /bin/date, but then immediately execs it: the kernel loads and runs &quot;date&quot;.
If you type the name of a shell script instead, the shell does exactly the same thing, but the exec fails, which causes the shell to read the script and interpret it.
However, if the script starts with a &quot;#!&quot; and references some other interpreter, it&#039;s the kernel (not the shell) that calls that other interpreter.
(like Perl, for example).
A minor point, perhaps, but more accurate.</description> <content:encoded><![CDATA[<p>It&#8217;s actually slightly incorrect though.</p><p>It&#8217;s the kernel that makes a lot of the decisions.</p><p>For example, when you type &#8220;date&#8221;, the shell looks through its PATH, finds /bin/date, but then immediately execs it: the kernel loads and runs &#8220;date&#8221;.</p><p>If you type the name of a shell script instead, the shell does exactly the same thing, but the exec fails, which causes the shell to read the script and interpret it.</p><p>However, if the script starts with a &#8220;#!&#8221; and references some other interpreter, it&#8217;s the kernel (not the shell) that calls that other interpreter.<br
/> (like Perl, for example).</p><p>A minor point, perhaps, but more accurate.</p> ]]></content:encoded> </item> <item><title>By: Anonymous</title><link>http://www.cyberciti.biz/tips/how-linux-or-unix-understand-which-program-to-run-part-i.html#comment-19470</link> <dc:creator>Anonymous</dc:creator> <pubDate>Sun, 12 Feb 2006 00:28:00 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/how-linux-or-unix-understand-which-program-to-run-part-i.html#comment-19470</guid> <description>very nice, clear and to the point.</description> <content:encoded><![CDATA[<p>very nice, clear and to the point.</p> ]]></content:encoded> </item> </channel> </rss>
