11 lines
131 B
Bash
11 lines
131 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
for dir in */; do
|
||
|
echo "$dir"
|
||
|
done
|
||
|
|
||
|
for file in *; do
|
||
|
if [ -d "$file" ]; then
|
||
|
echo "$file"
|
||
|
fi
|
||
|
done
|