# 1 ```bash # bash for s in lir_d*; do ( cd "$s"; git pull; ); done ``` ```nu # note we don't need to use a subshell # note also that variables are objects, so we need to use $x.name ls lir_d* | each { |x| cd $x.name ; git pull } ```