Commit 1347888b85
Unsigned
Layout: unified · split
content/wiki/sh.org +3 −2
| @@ -1,8 +1,9 @@ | |||
| 1 | #+title: sh | 1 | #+title: Shell Commands & Scripts |
| 2 | #+date: <2025-03-19> | ||
| 2 | 3 | ||
| 3 | * File Loop | 4 | * File Loop |
| 4 | 5 | ||
| 5 | #+begin_sh shell | 6 | #+begin_src shell |
| 6 | # All files in current directory | 7 | # All files in current directory |
| 7 | for file in *; do echo "${file}"; done | 8 | for file in *; do echo "${file}"; done |
| 8 | 9 | ||