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

厉害
评论于 通过修改hosts去除小米电视广告