Which is better in this scenario – if else loop or case in shell scripting?
I am trying to write a shell script which has a part where I have to use some kind of loop to execute some commands if condition satisfy.
I want to understand what is the best way to approach this problem.