解决windows下编辑的shell文件unix下不能用的问题

如果在windows下编辑的shell文件,shell文件中第一行为#!/bin/bash   ,在unix下运行后提示“:bad   interpreter   没有那个文件或目录”,需要使用dos2unix转换一下

你可能感兴趣的:(windows,unix,bash)