In the following code:
for i in {01..20};
do
lxc start server$i
done
I'd like to use a variable inside the curly braces but it doesn't work.
I tried this:
for i in {01..**$1**};
do
lxc start server$i
done
But the curly braces doesn't use the variable.
How can you solve this problem? The thing is that I need the sequence 01, 02, ...