Ok, this is probably going to be ultra obvious to anyone that has spent more time with bash than I have.
I\'m trying to run this code:
#!/bin/bash i
Try adding spaces around your brackets:
if [ "1" -eq "2" ]