<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
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/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
> <channel><title>Frequently Asked Questions About Linux / UNIX &#187; loop syntax</title> <atom:link href="http://www.cyberciti.biz/faq/tag/loop-syntax/feed/" rel="self" type="application/rss+xml" /><link>http://www.cyberciti.biz/faq</link> <description>Every answer asks a more beautiful question.</description> <lastBuildDate>Fri, 03 Feb 2012 22:38:32 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>Linux / UNIX: Run Command a Number of Times In a Row</title><link>http://www.cyberciti.biz/faq/bsd-appleosx-linux-bash-shell-run-command-n-times/</link> <comments>http://www.cyberciti.biz/faq/bsd-appleosx-linux-bash-shell-run-command-n-times/#comments</comments> <pubDate>Thu, 19 May 2011 21:20:31 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[BASH Shell]]></category> <category><![CDATA[Bash]]></category> <category><![CDATA[csh]]></category> <category><![CDATA[ksh]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[loop run]]></category> <category><![CDATA[loop syntax]]></category> <category><![CDATA[n times]]></category> <category><![CDATA[Perl]]></category> <category><![CDATA[python]]></category> <category><![CDATA[tcsh]]></category> <category><![CDATA[UNIX]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=10514</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/faq/category/bash-shell/' title='See all Bash/Shell scripting related FAQ'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/terminal.png' border='0' /></a></div> <span
class="drop_cap">H</span>ow do I run "foo" command 10 times (or n times) under Linux or UNIX like operating systems?]]></description> <wfw:commentRss>http://www.cyberciti.biz/faq/bsd-appleosx-linux-bash-shell-run-command-n-times/feed/</wfw:commentRss> <slash:comments>6</slash:comments> </item> <item><title>Linux / UNIX: For Loop To Remove Files</title><link>http://www.cyberciti.biz/faq/use-a-for-loop-to-remove-file-in-unix/</link> <comments>http://www.cyberciti.biz/faq/use-a-for-loop-to-remove-file-in-unix/#comments</comments> <pubDate>Fri, 15 Jan 2010 14:48:02 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[UNIX]]></category> <category><![CDATA[better solution]]></category> <category><![CDATA[fi]]></category> <category><![CDATA[for loop]]></category> <category><![CDATA[ksh]]></category> <category><![CDATA[ksh loop]]></category> <category><![CDATA[loop syntax]]></category> <category><![CDATA[rm command]]></category> <category><![CDATA[wild cards]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=10868</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/faq/category/unix/' title='See all UNIX related articles/faq'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/unix-logo.gif' border='0' /></a></div> <span
class="drop_cap">H</span>ow do I use a for loop in Unix to remove files?]]></description> <wfw:commentRss>http://www.cyberciti.biz/faq/use-a-for-loop-to-remove-file-in-unix/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Ksh Read a File Line By Line ( UNIX  Scripting )</title><link>http://www.cyberciti.biz/faq/ksh-read-file/</link> <comments>http://www.cyberciti.biz/faq/ksh-read-file/#comments</comments> <pubDate>Fri, 20 Nov 2009 14:30:30 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[AIX]]></category> <category><![CDATA[HP-UX Unix]]></category> <category><![CDATA[KSH Shell]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Openbsd]]></category> <category><![CDATA[Solaris-Unix]]></category> <category><![CDATA[UNIX]]></category> <category><![CDATA[/usr/bin/ksh]]></category> <category><![CDATA[bin ksh]]></category> <category><![CDATA[echo line]]></category> <category><![CDATA[file tmp]]></category> <category><![CDATA[internal field separator]]></category> <category><![CDATA[korn shell]]></category> <category><![CDATA[korn shell read command]]></category> <category><![CDATA[Korn Shell Scripting]]></category> <category><![CDATA[line echo]]></category> <category><![CDATA[loop syntax]]></category> <category><![CDATA[man page]]></category> <category><![CDATA[operating systems]]></category> <category><![CDATA[pipe symbol]]></category> <category><![CDATA[shell scripting]]></category> <category><![CDATA[while command]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=5797</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/faq/category/ksh-shell/' title='See all Korn shell (KSH) scripting related FAQ'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/terminal.png' border='0' /></a></div> <span
class="drop_cap">H</span>ow do I read a file line by line using KSH shell scripting under UNIX like operating systems?]]></description> <wfw:commentRss>http://www.cyberciti.biz/faq/ksh-read-file/feed/</wfw:commentRss> <slash:comments>8</slash:comments> </item> <item><title>Bash Iterate Array Examples</title><link>http://www.cyberciti.biz/faq/bash-iterate-array/</link> <comments>http://www.cyberciti.biz/faq/bash-iterate-array/#comments</comments> <pubDate>Tue, 27 Jan 2009 05:11:11 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[BASH Shell]]></category> <category><![CDATA[CentOS]]></category> <category><![CDATA[Debian / Ubuntu]]></category> <category><![CDATA[FreeBSD]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[RedHat and Friends]]></category> <category><![CDATA[Suse]]></category> <category><![CDATA[Ubuntu Linux]]></category> <category><![CDATA[UNIX]]></category> <category><![CDATA[array]]></category> <category><![CDATA[array in bash]]></category> <category><![CDATA[array values]]></category> <category><![CDATA[bash array]]></category> <category><![CDATA[bash array element]]></category> <category><![CDATA[bash array for loop]]></category> <category><![CDATA[bash array get length]]></category> <category><![CDATA[bash array iterate]]></category> <category><![CDATA[bash array loop]]></category> <category><![CDATA[bash array size]]></category> <category><![CDATA[bash array variables]]></category> <category><![CDATA[bash arrays loop]]></category> <category><![CDATA[bash for loop]]></category> <category><![CDATA[bash for loop array]]></category> <category><![CDATA[bash Iterate array]]></category> <category><![CDATA[bash loop array]]></category> <category><![CDATA[c style]]></category> <category><![CDATA[current value]]></category> <category><![CDATA[echo echo]]></category> <category><![CDATA[files print]]></category> <category><![CDATA[for loop]]></category> <category><![CDATA[loop syntax]]></category> <category><![CDATA[subscript]]></category> <category><![CDATA[subscripts]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=5536</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/faq/category/bash-shell/' title='See all Bash/Shell scripting related FAQ'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/terminal.png' border='0' /></a></div> <span
class="drop_cap">H</span>ow do I iterate through an array under Bash scripting?]]></description> <wfw:commentRss>http://www.cyberciti.biz/faq/bash-iterate-array/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Bash For Loop Array: Iterate Through Array Values</title><link>http://www.cyberciti.biz/faq/bash-for-loop-array/</link> <comments>http://www.cyberciti.biz/faq/bash-for-loop-array/#comments</comments> <pubDate>Sun, 13 Apr 2008 17:25:30 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[BASH Shell]]></category> <category><![CDATA[CentOS]]></category> <category><![CDATA[Debian / Ubuntu]]></category> <category><![CDATA[FreeBSD]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[RedHat and Friends]]></category> <category><![CDATA[Suse]]></category> <category><![CDATA[Ubuntu Linux]]></category> <category><![CDATA[UNIX]]></category> <category><![CDATA[array]]></category> <category><![CDATA[array in bash]]></category> <category><![CDATA[array values]]></category> <category><![CDATA[bash array]]></category> <category><![CDATA[bash array element]]></category> <category><![CDATA[bash array for loop]]></category> <category><![CDATA[bash array get length]]></category> <category><![CDATA[bash array iterate]]></category> <category><![CDATA[bash array loop]]></category> <category><![CDATA[bash array size]]></category> <category><![CDATA[bash array variables]]></category> <category><![CDATA[bash arrays loop]]></category> <category><![CDATA[bash for loop]]></category> <category><![CDATA[bash for loop array]]></category> <category><![CDATA[bash Iterate array]]></category> <category><![CDATA[bash loop array]]></category> <category><![CDATA[for loop]]></category> <category><![CDATA[loop syntax]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=2744</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/faq/category/bash-shell/' title='See all Bash/Shell scripting related FAQ'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/terminal.png' border='0' /></a></div> <span
style='color: rgb(255, 0, 0);'>Q.</span> How do I use bash for loop to iterate thought array values under UNIX / Linux operating systems?]]></description> <wfw:commentRss>http://www.cyberciti.biz/faq/bash-for-loop-array/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>KSH For Loop Examples</title><link>http://www.cyberciti.biz/faq/ksh-for-loop/</link> <comments>http://www.cyberciti.biz/faq/ksh-for-loop/#comments</comments> <pubDate>Sun, 13 Apr 2008 16:46:32 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[AIX]]></category> <category><![CDATA[CentOS]]></category> <category><![CDATA[Debian / Ubuntu]]></category> <category><![CDATA[FreeBSD]]></category> <category><![CDATA[HP-UX Unix]]></category> <category><![CDATA[KSH Shell]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Mac os x]]></category> <category><![CDATA[Programming]]></category> <category><![CDATA[Solaris-Unix]]></category> <category><![CDATA[Suse]]></category> <category><![CDATA[Ubuntu Linux]]></category> <category><![CDATA[UNIX]]></category> <category><![CDATA[korn]]></category> <category><![CDATA[ksh]]></category> <category><![CDATA[ksh for]]></category> <category><![CDATA[ksh for loop]]></category> <category><![CDATA[ksh for loop example]]></category> <category><![CDATA[ksh for loops]]></category> <category><![CDATA[ksh loop]]></category> <category><![CDATA[ksh loop bash]]></category> <category><![CDATA[ksh range]]></category> <category><![CDATA[ksh script loop]]></category> <category><![CDATA[loop syntax]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=2720</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/faq/category/ksh-shell/' title='See all Korn shell (KSH) scripting related FAQ'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/terminal.png' border='0' /></a></div> <span
style='color: rgb(255, 0, 0);'>Q. </span>How do I use for loop in Korn Shell under UNIX / Linux / BSD / OS X operating systems?]]></description> <wfw:commentRss>http://www.cyberciti.biz/faq/ksh-for-loop/feed/</wfw:commentRss> <slash:comments>12</slash:comments> </item> <item><title>Bash While Loop Example</title><link>http://www.cyberciti.biz/faq/bash-while-loop/</link> <comments>http://www.cyberciti.biz/faq/bash-while-loop/#comments</comments> <pubDate>Sat, 15 Mar 2008 15:23:47 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[BASH Shell]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[UNIX]]></category> <category><![CDATA[bash while do loop syntax]]></category> <category><![CDATA[boolean expression]]></category> <category><![CDATA[control flow]]></category> <category><![CDATA[echo command]]></category> <category><![CDATA[flow statement]]></category> <category><![CDATA[getopts]]></category> <category><![CDATA[infinite loops]]></category> <category><![CDATA[loop syntax]]></category> <category><![CDATA[shell code]]></category> <category><![CDATA[unix operating system]]></category> <category><![CDATA[while command]]></category> <category><![CDATA[while loop syntax]]></category> <category><![CDATA[whois server]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/bash-while-loop/</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='/faq/category/bash-shell/' title='See all Bash/Shell scripting related FAQ'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/terminal.png' border='0' /></a></div> <span
class="drop_cap">H</span>ow do I use bash while loop to repeat certain task under Linux / UNIX operating system?   How do I set infinite loops using while statement?]]></description> <wfw:commentRss>http://www.cyberciti.biz/faq/bash-while-loop/feed/</wfw:commentRss> <slash:comments>11</slash:comments> </item> <item><title>Linux bash for loop</title><link>http://www.cyberciti.biz/faq/linux-bash-for-loop/</link> <comments>http://www.cyberciti.biz/faq/linux-bash-for-loop/#comments</comments> <pubDate>Sun, 13 Jan 2008 17:13:52 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[BASH Shell]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[bash for]]></category> <category><![CDATA[bash for loop]]></category> <category><![CDATA[bash for loop example]]></category> <category><![CDATA[bash for loops]]></category> <category><![CDATA[bash loop]]></category> <category><![CDATA[bash loop bash]]></category> <category><![CDATA[bash script loop]]></category> <category><![CDATA[bash with spaces]]></category> <category><![CDATA[eq]]></category> <category><![CDATA[fi]]></category> <category><![CDATA[loop syntax]]></category> <category><![CDATA[loop through]]></category> <category><![CDATA[odd number]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=2738</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/faq/category/bash-shell/' title='See all Bash/Shell scripting related FAQ'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/terminal.png' border='0' /></a></div> <span
style='color: rgb(255, 0, 0);'>Q.</span> How do I use bash for loop under Linux operating systems?]]></description> <wfw:commentRss>http://www.cyberciti.biz/faq/linux-bash-for-loop/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>KSH for Syntax</title><link>http://www.cyberciti.biz/faq/ksh-for-syntax/</link> <comments>http://www.cyberciti.biz/faq/ksh-for-syntax/#comments</comments> <pubDate>Fri, 31 Aug 2007 12:16:46 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[AIX]]></category> <category><![CDATA[HP-UX Unix]]></category> <category><![CDATA[Korn Shell Scripting]]></category> <category><![CDATA[KSH Shell]]></category> <category><![CDATA[Solaris-Unix]]></category> <category><![CDATA[UNIX]]></category> <category><![CDATA[/usr/bin/ksh]]></category> <category><![CDATA[command substitution]]></category> <category><![CDATA[command2]]></category> <category><![CDATA[ksh for]]></category> <category><![CDATA[ksh script]]></category> <category><![CDATA[ksh syntax]]></category> <category><![CDATA[loop examples]]></category> <category><![CDATA[loop syntax]]></category> <category><![CDATA[script example]]></category> <category><![CDATA[unix ksh]]></category> <category><![CDATA[usr bin ksh]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=5167</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/faq/category/unix/' title='See all UNIX related articles/faq'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/unix-logo.gif' border='0' /></a></div> <span
class="drop_cap">C</span>an you explains UNIX ksh for loop  syntax which can repeatedly execute a block of statements with a simple ksh script example?]]></description> <wfw:commentRss>http://www.cyberciti.biz/faq/ksh-for-syntax/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
