<?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: Shell Script To Number Lines Of Files</title> <atom:link href="http://www.cyberciti.biz/faq/linux-unix-command-to-number-lines-of-files/feed/" rel="self" type="application/rss+xml" /><link>http://www.cyberciti.biz/faq/linux-unix-command-to-number-lines-of-files/</link> <description>Every answer asks a more beautiful question.</description> <lastBuildDate>Fri, 10 Feb 2012 19:55:56 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: sunardo</title><link>http://www.cyberciti.biz/faq/linux-unix-command-to-number-lines-of-files/#comment-46113</link> <dc:creator>sunardo</dc:creator> <pubDate>Wed, 24 Feb 2010 03:05:48 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=1020#comment-46113</guid> <description>how to remove number each line of a text file?</description> <content:encoded><![CDATA[<p>how to remove number each line of a text file?</p> ]]></content:encoded> </item> <item><title>By: Tarun</title><link>http://www.cyberciti.biz/faq/linux-unix-command-to-number-lines-of-files/#comment-42691</link> <dc:creator>Tarun</dc:creator> <pubDate>Thu, 23 Jul 2009 19:30:41 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=1020#comment-42691</guid> <description>How would you make your umask setting permanent?</description> <content:encoded><![CDATA[<p>How would you make your umask setting permanent?</p> ]]></content:encoded> </item> <item><title>By: Vivek Gite</title><link>http://www.cyberciti.biz/faq/linux-unix-command-to-number-lines-of-files/#comment-42585</link> <dc:creator>Vivek Gite</dc:creator> <pubDate>Fri, 17 Jul 2009 06:05:50 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=1020#comment-42585</guid> <description>use ssh:
&lt;pre&gt;ssh user@another.server.com&lt;/pre&gt;</description> <content:encoded><![CDATA[<p>use ssh:</p><pre>ssh <a href="mailto:user@another.server.com">user@another.server.com</a></pre>]]></content:encoded> </item> <item><title>By: Tarun</title><link>http://www.cyberciti.biz/faq/linux-unix-command-to-number-lines-of-files/#comment-42577</link> <dc:creator>Tarun</dc:creator> <pubDate>Thu, 16 Jul 2009 21:47:45 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=1020#comment-42577</guid> <description>How would you connect from one UNIX terminal to another using SSH can any one explain with example.</description> <content:encoded><![CDATA[<p>How would you connect from one UNIX terminal to another using SSH can any one explain with example.</p> ]]></content:encoded> </item> <item><title>By: seaman77</title><link>http://www.cyberciti.biz/faq/linux-unix-command-to-number-lines-of-files/#comment-40420</link> <dc:creator>seaman77</dc:creator> <pubDate>Sun, 22 Feb 2009 09:23:47 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=1020#comment-40420</guid> <description>Hello, I&#039;m new in linux, please help me to write this shell script and explain them
1- Write a shell script (trans.sh) that :
- Take as command-line options any number of text files
-Read in each of these files, converts all the letters to uppercase, and then stores the results in a file of the same name but with a .caps extension
2- Write a script (execadd.sh) that will take a single filename as an argument and adds execute permission to the file for the user, but only if the file is a regular file.
Your script must check to see that there is exactly one argument. If there are no arguments or more than one arguments, your script must produce a &quot;usage&quot; message that tells how to use the script.</description> <content:encoded><![CDATA[<p>Hello, I&#8217;m new in linux, please help me to write this shell script and explain them<br
/> 1- Write a shell script (trans.sh) that :<br
/> - Take as command-line options any number of text files<br
/> -Read in each of these files, converts all the letters to uppercase, and then stores the results in a file of the same name but with a .caps extension</p><p>2- Write a script (execadd.sh) that will take a single filename as an argument and adds execute permission to the file for the user, but only if the file is a regular file.<br
/> Your script must check to see that there is exactly one argument. If there are no arguments or more than one arguments, your script must produce a &#8220;usage&#8221; message that tells how to use the script.</p> ]]></content:encoded> </item> <item><title>By: budacsik</title><link>http://www.cyberciti.biz/faq/linux-unix-command-to-number-lines-of-files/#comment-38826</link> <dc:creator>budacsik</dc:creator> <pubDate>Sat, 20 Sep 2008 14:48:00 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=1020#comment-38826</guid> <description>grep -n
but this not so good</description> <content:encoded><![CDATA[<p>grep -n<br
/> but this not so good</p> ]]></content:encoded> </item> <item><title>By: Vitaly</title><link>http://www.cyberciti.biz/faq/linux-unix-command-to-number-lines-of-files/#comment-37832</link> <dc:creator>Vitaly</dc:creator> <pubDate>Thu, 01 May 2008 07:22:24 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=1020#comment-37832</guid> <description>&quot;pr&quot; can do it too</description> <content:encoded><![CDATA[<p>&#8220;pr&#8221; can do it too</p> ]]></content:encoded> </item> <item><title>By: vivek</title><link>http://www.cyberciti.biz/faq/linux-unix-command-to-number-lines-of-files/#comment-37785</link> <dc:creator>vivek</dc:creator> <pubDate>Fri, 18 Apr 2008 13:01:10 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=1020#comment-37785</guid> <description>Tobi / Halttula: thanks for pointing out cat -n switch.</description> <content:encoded><![CDATA[<p>Tobi / Halttula: thanks for pointing out cat -n switch.</p> ]]></content:encoded> </item> <item><title>By: Tobi</title><link>http://www.cyberciti.biz/faq/linux-unix-command-to-number-lines-of-files/#comment-37784</link> <dc:creator>Tobi</dc:creator> <pubDate>Fri, 18 Apr 2008 12:30:10 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=1020#comment-37784</guid> <description>I used cat -n till now. Not so much features but enough for using it in some scripts.</description> <content:encoded><![CDATA[<p>I used cat -n till now. Not so much features but enough for using it in some scripts.</p> ]]></content:encoded> </item> <item><title>By: Halttula</title><link>http://www.cyberciti.biz/faq/linux-unix-command-to-number-lines-of-files/#comment-37782</link> <dc:creator>Halttula</dc:creator> <pubDate>Fri, 18 Apr 2008 11:06:01 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=1020#comment-37782</guid> <description>You can do that with cat also.
cat -n </description> <content:encoded><![CDATA[<p>You can do that with cat also.<br
/> cat -n</p> ]]></content:encoded> </item> </channel> </rss>
