Recognition

Posts

3 Posts
  • Published Answer

    Syntax error near unexpected token `done'

    I copied and created new file with the code in example of the link: <br> <br>#!/bin/bash <br>COUNTER=0 <br>while [ $COUNTER -lt 10…
    By dinhhoangviet
  • Published Answer

    Syntax error near unexpected token `done'

    I replaced : with ; then got another error <br>syntax error near unexpected token `;’
    By dinhhoangviet
  • Published Question

    Syntax error near unexpected token `done'

    Hi all, Sorry for a noob question, I'm jus started with Linux today :D My droplet used CentOS 6.5. I have a script name "loop.sh" with this code: !/bin/bash while : do sl done When I try to run it with command "ba...
    4 By dinhhoangviet