如图 项目根目录出现了跟多core文件 在网上查到的方法是ulimit -c 0来关闭文件生成 但是这么设置了也没有用 还是在不断生成文件请问应该如何关闭文件生成
1.cat /etc/profile | grep "ulimit -c",看下是否有打开core的配置,若有就vim打开配文件找到删掉它2.执行 echo "ulimit -c 0" >>/etc/profile 添加禁用命令3.chmod a+x /etc/profile4.执行生效 . /etc/profile