Differences between version 53 and previous revision of BashNotes.
Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 53 | Last edited on Tuesday, April 17, 2007 8:07:59 pm | by BenStaz | Revert |
Older page: | version 52 | Last edited on Friday, March 16, 2007 8:16:47 pm | by LawrenceDoliveiro | Revert |
@@ -372,8 +372,11 @@
!How can I see what my command will look like after bash expands it?
After typing the command, press ''Esc'' then press ''C-e''
+!Bash C-style for loop construct
+
+for ((i=1; i<100;i++));do echo $i; done;
!How can I do Division in bash using floating point numbers?
Use ''bc''