本文共 361 字,大约阅读时间需要 1 分钟。
#!/bin/bashecho "192.168.85.24 tsedb">> /etc/hosts
<<EOF告诉主shell,后续的输入,是其他命令或者子shell的输入,直到遇到EOF为止
#!/bin/bashcat > /etc/security/limits.conf<< EOF#tsedb SETTINGtsedb soft nproc 16384tsedb hard nproc 16384tsedb soft nofile 16384tsedb hard nofile 65536tsedb soft stack 10240tsedb hard stack 32768tsedb hard memlock 8000000tsedb soft memlock 8000000EOF
转载地址:http://mrbkz.baihongyu.com/