04 2024 档案

摘要:在Windows环境下写了个shell脚本,复制到Linux下使用./echo.sh运行发现如下错误: /bin/sh^M:损坏的解释器: 没有那个文件或目录 出现这个问题的原因如下:在Windows下,每一行的结尾是\r\n,但是在Linux下文件的结尾是\n。因此在Windows环境下编辑过的文 阅读全文
posted @ 2024-04-22 18:22 所向披靡zz 阅读(492) 评论(0) 推荐(0) 编辑
摘要:vim /etc/security/limits.conf * soft nofile 65535 * hard nofile 65535 * soft nproc 65535 * hard nproc 65535 * 代表所有用户nofile 代表打开文件数量nproc 代表开发进程soft 软限 阅读全文
posted @ 2024-04-18 17:31 所向披靡zz 阅读(70) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示