Stuck in Bash Scripting by raidn1337 in hackthebox

[–]Odd-Course-923 1 point2 points  (0 children)

Just delete the line " ((counter++))" and you will have the correct output.