Shell
-
记一次在 shell 脚本中使用 tail 引发的血案
在一个夜黑风高的深夜,我的分别在2台服务器上的tomcat都同时down了,都报出了如下的错误信息: Jul 31, 2018 11:40:00 PM com.ex.service.voip.VoipService f…… -
shell函数返回字符串用echo
shell中要返回字符串不能使用return,用echo # cat test.sh #!/bin/bash logpath="/data/log/file1.log" getpath() { &nbs……


收录了:https://ww2.me/list.asp?Sort=1060
评论于 关于