文件换行输入和清空

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

上一篇:【ybt金牌导航5-4-4】【luogu P4842】城市旅行


下一篇:Atcoder Grand Contest 054 题解