I try to test do while loop in linux but showing error. script:
#!/bin/bash
a=10
do
{
echo "hello user"
} while(a <=20);
showing error:
w.sh: line 4: syntax error near unexpected token do'
w.sh: line 4:
do'
please help me out to solve my query.