Cannot compile while loop in shell scripting
Dear Expert,
I try to compile this shell script it give me error Code:
#!/bin/bash Code:
|
The '[' character is a command, not a builtin part of the "while" syntax. Both the '[' and ']' characters need to be delimited by white space:
Code:
while [ $n -le 5 ] |
|
Thank alots for that information. Its helps me to learn since i'm new to linux.
|
All times are GMT -5. The time now is 10:41 AM. |