mirror of
https://github.com/sahinakkaya/til.git
synced 2024-11-14 04:59:38 +01:00
14 lines
167 B
Markdown
14 lines
167 B
Markdown
You can loop through the files with:
|
|
```
|
|
for f in * ; do
|
|
echo $f
|
|
done
|
|
```
|
|
|
|
If you want to loop through only directories:
|
|
```
|
|
for d in */ ; do
|
|
echo $d
|
|
done
|
|
```
|