This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
linux_wiki:bash_scripting_snippets [2019/11/05 03:01]
linux_wiki:bash_scripting_snippets [2019/11/05 03:02] (current)
billdozor [Loop over a sequence]
Line 28: Line 28:
 <code bash> <code bash>
 END=10 END=10
-for i in $(seq 1 $END); do  +for i in $(seq 1 ${END}); do  
-  echo $i+  echo ${i}
 done done
 </​code>​ </​code>​
  • linux_wiki/bash_scripting_snippets.txt
  • Last modified: 2019/11/05 03:02
  • by billdozor