linux共1篇
$‘\r‘: command not found的解决方法-生如繁星

$‘\r‘: command not found的解决方法

缘起 在Linux系统中,运行Shell脚本,会时常出现如下错误: one-more.sh: line 1: $'\r': command not found 出现这样的错误,是因为Shell脚本在Windows系统编写时,每行结尾是\r\n,而在Linux...
十万八千梦的头像-生如繁星十万八千梦1年前
10014