0
  e=1  
    if [[ e -eq "1" ]]
            then
            echo "1"
            e=2
    fi

    if [[ e -eq "2" ]]
        then
        echo "2"
        e=1
    fi

Hi, I am trying to do this simple program in bash, but I have this error:

scriptCTH_v2.sh: 109: scriptCTH_v2.sh: [[: not found

Can you help me please?

hg8
  • 1,082
  • 2
  • 15
  • 28
flat1991
  • 21
  • 3

0 Answers0