for

for

TLDR

Perform a command with different arguments

>_ for argument in 1 2 3; do [command $argument]; done
copy

Perform a command in every directory

>_ for d in *; do (cd $d; [command]); done
copy

Copied to clipboard
free 100$ digital ocean credit