Today i installed a new ubuntu 11.10 in VMWare, however, i'm not lucky this time, normally run the shell, get the failure, no any clues. I'm stuck here, why it happens, the command is there, weird!
--------------------------------------
zhuji06 :~/hbase-0.92.1$ bin/start-hbase.sh
: No such file or directory ---------------------------------------------------zhuji06 :~/hbase-0.92.1$ bash -x bin/start-hbase.sh
+ $'\r'
bin/start-hbase.sh: line 22: $'\r': command not found + $'\r' bin/start-hbase.sh: line 24: $'\r': command not found ' usage='Usage: start-hbase.sh + $'\r' bin/start-hbase.sh: line 28: $'\r': command not found ++ dirname bin/start-hbase.sh + bin=$'bin\r' ++ cd $'bin\r' : No such file or directory: cd: bin ++ pwd + bin=$'/home/zhuji06/hbase-0.92.1\r' + $'\r' bin/start-hbase.sh: line 31: $'\r': command not found + . $'/home/zhuji06/hbase-0.92.1\r/hbase-config.sh\r' : No such file or directory: /home/zhuji06/hbase-0.92.1 + $'\r' bin/start-hbase.sh: line 33: $'\r': command not found + errCode=$'127\r' bin/start-hbase.sh: line 55: syntax error: unexpected end of file