From e1979c646ab0a11a06020b6126db926397d8bffd Mon Sep 17 00:00:00 2001 From: Marcin Chrzanowski Date: Sun, 31 May 2020 14:16:29 +0200 Subject: Add to bash --- bash.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bash.md b/bash.md index e6e54f3..dc12446 100644 --- a/bash.md +++ b/bash.md @@ -22,6 +22,11 @@ Loop over files for file in glob/*; do something $file; done +Loop over integers + + for i in `seq 10`; do echo $i; done + ## Conditionals * `-z`: is empty string +* `-f`: is regular file -- cgit v1.2.3