I am currently writing a bash script to automate a task for my research, i.e., procedurally creating multiple scripts that will be sent to a cluster. My bash script is composed of a copy operation that will copy all the files to some folder with a name generated with a procedure, except this one file. I know how to do this manually, but within the bash script it does not seem to work: #!bin/sh i=0 var="" while [ $i -lt 6 ] do i=$(( $i+1 ))...
Originally asked by user1173662 on Stack Exchange (askubuntu) (CC BY-SA 4.0).