Horje
loop through directories bash Code Example
loop through directories bash
#loops only through directories
for d in */ ; do
    echo "$d"
done
Bash dir in loop
mkdir /tmp/A /tmp/B /tmp/C "/tmp/ dir with spaces"
for file in /tmp/*/ ; do file="${file%/}"; echo "${file##*/}"; done
Source: techarks.ru




Shell

Related
how to activate administrator account in windows 10 command prompt Code Example how to activate administrator account in windows 10 command prompt Code Example
how to upgrade packages in yarn Code Example how to upgrade packages in yarn Code Example
open firewall port in linux Code Example open firewall port in linux Code Example
lf will be replaced by crlf Code Example lf will be replaced by crlf Code Example
linux get available commands Code Example linux get available commands Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
12