How to make txt file in every folder that I made with while do loop in bash programming? There must be a text inside the file.
Here's the syntax to make folder with while do :
#!/bin/bash
COUNTER=1
while [ $COUNTER -le 10 ]; do
mkdir folder_$COUNTER
let COUNTER=$COUNTER+1
done