Shell script not running, command not found

后端 未结 12 1822
天涯浪人
天涯浪人 2020-12-03 04:37

I am very, very new to UNIX programming (running on MacOSX Mountain Lion via Terminal). I\'ve been learning the basics from a bioinformatics and molecular methods course (we

12条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-03 05:37

    Also try to dos2unix the shell script, because sometimes it has Windows line endings and the shell does not recognize it.

    $ dos2unix MigrateNshell.sh
    

    This helps sometimes.

提交回复
热议问题