欢迎来到李先生的博客

深山的鹿,不知归处;万般皆苦,只可自渡。
扩大
缩小

2019年3月18日

Ubuntu 执行脚本报错:c.sh: Syntax error: "(" unexpected

摘要: 在Ubuntu下执行脚本报错 c.sh: Syntax error: "(" unexpected 解决办法 sudo dpkg-reconfigure dash ubuntu@ip-172-29-1-5:~$ ll /bin/sh lrwxrwxrwx 1 root root 4 Dec 3 09 阅读全文

posted @ 2019-03-18 15:55 Captain_Li 阅读(740) 评论(0) 推荐(0) 编辑

Shell脚本出现$'\r': command not found

摘要: Centos7下执行shell脚本报错如下 [root@ip-172-29-10-16 ~]# sh install_zabbix_agent.sh install_zabbix_agent.sh: line 2: $'\r': command not found install_zabbix_ag 阅读全文

posted @ 2019-03-18 15:50 Captain_Li 阅读(10636) 评论(0) 推荐(0) 编辑

导航