其他分享
首页 > 其他分享> > 文件换行输入和清空

文件换行输入和清空

作者:互联网

cat > /etc/security/limits.conf<< EOF
* soft nproc 16384
* hard nproc 16384
* soft nofile 1048576
* hard nofile 1048576
* soft stack 10240
* hard stack 32768
* hard memlock 8000000
* soft memlock 8000000
EOF

echo -ne "
* soft nofile 65536
* hard nofile 65536
" >>/etc/security/limits.conf

 

 

cat /dev/null > /etc/security/limits.conf

标签:limits,换行,hard,nofile,etc,conf,清空,soft,输入
来源: https://www.cnblogs.com/tonggc1668/p/14952644.html