I am trying to do some shell programs. I tried some sites for help. Regarding the while loop, they give the structure as
while [ n1 -lt 500 ]
But the below code also worked for me
while ((n1 > 500))
By using (( )) i could use while, for... But the documentations didnt follow this way. Please help me on this. Any problem using this way. I mainly use this for datastructure programming.