build simple yes/no question into script
read -p “Do you want to do whatever? (n/y)” yn
case $yn in
y|Y)
yes-command
;;
n|N)
no-command
;;
esac
what ist the one line for loop syntax
for NAME [in WORDS … ] ; do COMMANDS; done
in a one line for loop, copy the file box1.s4d.txt seven times to have box2.s4d.txt, box3.s4d.txt, …
for i in {2..8}; do cp box1.s4d.txt box${i}.s4d.txt; done;
what is the handle for all arguments passed to a bash function?
$@