<?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: Basic Shell Scripting</title>
	<atom:link href="http://www.linux4all.in/2008/05/31/basic-shell-scripting/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.linux4all.in/2008/05/31/basic-shell-scripting/</link>
	<description>Making Linux Usable For All From Newbies To Techies</description>
	<lastBuildDate>Wed, 15 Sep 2010 17:24:12 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Chaos</title>
		<link>http://www.linux4all.in/2008/05/31/basic-shell-scripting/comment-page-1/#comment-132</link>
		<dc:creator>Chaos</dc:creator>
		<pubDate>Tue, 24 Mar 2009 17:05:06 +0000</pubDate>
		<guid isPermaLink="false">http://linux.tech-nologic.info/?p=10#comment-132</guid>
		<description>&quot;the file to make it executable file
command is as follows
chmod 777 firstscript.sh&quot;  = RWX-Globally
As others have said this is a very poor practice. Most Linux users that use these tutorials are new and that statement is false. There are better and MUCH safer ways to make a file executable: chmod +x  &lt;file_name&gt;in CLI, or in GUI environment, right click the file select properties, place a tick mark in &quot;Make file Executable&quot;. Now the script file is executable, and you do not have to worry about other users making changes to it.</description>
		<content:encoded><![CDATA[<p>&#8220;the file to make it executable file<br />
command is as follows<br />
chmod 777 firstscript.sh&#8221;  = RWX-Globally<br />
As others have said this is a very poor practice. Most Linux users that use these tutorials are new and that statement is false. There are better and MUCH safer ways to make a file executable: chmod +x  &lt;file_name&gt;in CLI, or in GUI environment, right click the file select properties, place a tick mark in &#8220;Make file Executable&#8221;. Now the script file is executable, and you do not have to worry about other users making changes to it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kanz</title>
		<link>http://www.linux4all.in/2008/05/31/basic-shell-scripting/comment-page-1/#comment-39</link>
		<dc:creator>kanz</dc:creator>
		<pubDate>Wed, 01 Oct 2008 14:49:56 +0000</pubDate>
		<guid isPermaLink="false">http://linux.tech-nologic.info/?p=10#comment-39</guid>
		<description>just a correction: chmod 755 firstscript.sh” or “chmod +x firstscript.sh” will add execute permissions without making the file world writable(not readable as mentioned above).</description>
		<content:encoded><![CDATA[<p>just a correction: chmod 755 firstscript.sh” or “chmod +x firstscript.sh” will add execute permissions without making the file world writable(not readable as mentioned above).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kunal Gautam</title>
		<link>http://www.linux4all.in/2008/05/31/basic-shell-scripting/comment-page-1/#comment-27</link>
		<dc:creator>Kunal Gautam</dc:creator>
		<pubDate>Sun, 01 Jun 2008 17:01:23 +0000</pubDate>
		<guid isPermaLink="false">http://linux.tech-nologic.info/?p=10#comment-27</guid>
		<description>@Quiz Master Best Wishes and rox in examination</description>
		<content:encoded><![CDATA[<p>@Quiz Master Best Wishes and rox in examination</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Quiz_Master</title>
		<link>http://www.linux4all.in/2008/05/31/basic-shell-scripting/comment-page-1/#comment-26</link>
		<dc:creator>Quiz_Master</dc:creator>
		<pubDate>Sun, 01 Jun 2008 16:25:13 +0000</pubDate>
		<guid isPermaLink="false">http://linux.tech-nologic.info/?p=10#comment-26</guid>
		<description>Thanks 4 this.. Shell Scripting Paper (BCA 4th Sem)tomorrow.. Need to learn it overnight.!</description>
		<content:encoded><![CDATA[<p>Thanks 4 this.. Shell Scripting Paper (BCA 4th Sem)tomorrow.. Need to learn it overnight.!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kunal Gautam</title>
		<link>http://www.linux4all.in/2008/05/31/basic-shell-scripting/comment-page-1/#comment-25</link>
		<dc:creator>Kunal Gautam</dc:creator>
		<pubDate>Sun, 01 Jun 2008 16:08:02 +0000</pubDate>
		<guid isPermaLink="false">http://linux.tech-nologic.info/?p=10#comment-25</guid>
		<description>@sathya &amp; Bleu Scrinodeth Thanks a ton
Agreed we dont need to provide any Extension to files But still for better recognistion of files I&#039;ve placed .sh extension
CHMOD all to 777 will make it globally read.write&amp;executables for all users and groups [ if script is used on multiuser platform ]
yes &quot;sh&quot; command is required to run sh and bash shell script. To run c shell script simply supply &quot;csh filename&quot;

</description>
		<content:encoded><![CDATA[<p>@sathya &#038; Bleu Scrinodeth Thanks a ton<br />
Agreed we dont need to provide any Extension to files But still for better recognistion of files I&#8217;ve placed .sh extension<br />
CHMOD all to 777 will make it globally read.write&#038;executables for all users and groups [ if script is used on multiuser platform ]<br />
yes &#8220;sh&#8221; command is required to run sh and bash shell script. To run c shell script simply supply &#8220;csh filename&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sathya</title>
		<link>http://www.linux4all.in/2008/05/31/basic-shell-scripting/comment-page-1/#comment-24</link>
		<dc:creator>Sathya</dc:creator>
		<pubDate>Sun, 01 Jun 2008 15:54:29 +0000</pubDate>
		<guid isPermaLink="false">http://linux.tech-nologic.info/?p=10#comment-24</guid>
		<description>Nice tut. You dont need the .sh extension, unlike Windows, *nix dont need file extensions to disnguish filetypes.

The first line, is called the HashBang or She-Bang
PS: Tutorials spelling is wrong, and delete the ps part after correcting.
Cheers.</description>
		<content:encoded><![CDATA[<p>Nice tut. You dont need the .sh extension, unlike Windows, *nix dont need file extensions to disnguish filetypes.</p>
<p>The first line, is called the HashBang or She-Bang<br />
PS: Tutorials spelling is wrong, and delete the ps part after correcting.<br />
Cheers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bleu Scrinodeth</title>
		<link>http://www.linux4all.in/2008/05/31/basic-shell-scripting/comment-page-1/#comment-23</link>
		<dc:creator>Bleu Scrinodeth</dc:creator>
		<pubDate>Sun, 01 Jun 2008 15:52:25 +0000</pubDate>
		<guid isPermaLink="false">http://linux.tech-nologic.info/?p=10#comment-23</guid>
		<description>There are several errors in this post.

First problem is that the commands will print to the screen and immediately be cleared. Not a big deal, but hardly a great example for new scripters.

The second is in Method 1. If you run your script with sh, which is symlinked to bash, then ksh and csh scripts will fail.  Again, not a big deal for running external commands, but will cause failures when you try to run commands specific to a shell.

The third is in Method 2. To make a file executable there is no need to make it world writable. This is a grievous error to introduce to new scripters. &quot;chmod 755 firstscript.sh&quot; or &quot;chmod +x firstscript.sh&quot; will add execute permissions without making the file world readable.</description>
		<content:encoded><![CDATA[<p>There are several errors in this post.</p>
<p>First problem is that the commands will print to the screen and immediately be cleared. Not a big deal, but hardly a great example for new scripters.</p>
<p>The second is in Method 1. If you run your script with sh, which is symlinked to bash, then ksh and csh scripts will fail.  Again, not a big deal for running external commands, but will cause failures when you try to run commands specific to a shell.</p>
<p>The third is in Method 2. To make a file executable there is no need to make it world writable. This is a grievous error to introduce to new scripters. &#8220;chmod 755 firstscript.sh&#8221; or &#8220;chmod +x firstscript.sh&#8221; will add execute permissions without making the file world readable.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
