Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

loop through directories bash

#loops only through directories
for d in */ ; do
    echo "$d"
done
Source by unix.stackexchange.com #
 
PREVIOUS NEXT
Tagged: #loop #directories #bash
ADD COMMENT
Topic
Name
1+9 =