diff options
author | Marcin Chrzanowski <marcin.j.chrzanowski@gmail.com> | 2020-05-31 14:16:29 +0200 |
---|---|---|
committer | Marcin Chrzanowski <marcin.j.chrzanowski@gmail.com> | 2020-05-31 14:16:29 +0200 |
commit | e1979c646ab0a11a06020b6126db926397d8bffd (patch) | |
tree | c2a7b32b3333bb900ea193132fb5b629b2ba8319 | |
parent | 277d6495d0b0333b1ce1aa8e77919982522f0a19 (diff) |
Add to bash
-rw-r--r-- | bash.md | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |