会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
范丰平
AaronFan--我心,我路;我途,我步。世上安得两全法,不负如来不负卿!
CnBlogs
Home
New Post
Contact
Admin
Subscription
2020年4月7日
Linux-006-执行Shell脚本报错 $'\r':command not found
在 windows 下编写 Shell 脚本,在 Linux 上执行时,报错提示: $'\r':command not found。 因为 windows 下的换行符是 \r\n ,而 Linux 的换行符是 \n。因而在 Linux 下运行 windows 编写的 Shell 脚本,会报如上所示的
Read More
posted @ 2020-04-07 09:08 范丰平
Views(711)
Comments(0)
Diggs(0)
Edit
公告