![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ubuntu
凱凱啊
这个作者很懒,什么都没留下…
展开
-
Linux执行.sh文件时,出现$‘\r‘: command not found错误解决方案:
方案一sed -i ‘s/\r//’ 脚本名方案二yum -y install dos2unixdos2unix 脚本名原创 2021-11-18 11:54:48 · 532 阅读 · 0 评论 -
linux 后台运行,并指定配置文件和端口
nohup java -jar xxxx.jar --spring.profiles.active=prod --server.port=8080 > nohup.log &原创 2021-11-18 11:52:11 · 492 阅读 · 0 评论 -
解决linux的-bash: ./xx.sh: Permission denied
chmod 777 xx.sh755:代表用户对该文件拥有读,写,执行的权限,同组其他人员拥有执行和读的权限,没有写的权限,其他用户的权限和同组人员权限一样。777:代表,user,group ,others ,都有读写和可执行权限。...原创 2021-11-18 11:49:51 · 927 阅读 · 0 评论