shell
LittleIN
这个作者很懒,什么都没留下…
展开
-
shell日志清除
清除/usr/local/apache-tomcat-8.5.45/logs下30天以外的日志find /usr/local/apache-tomcat-8.5.45/logs -type f -mtime +30 -name "*log*" -exec rm {} \;温馨提示:stat aa File: ‘aa’ Size: 0 Blocks: 0 ...原创 2019-10-23 10:05:45 · 266 阅读 · 0 评论 -
## ssh从7.4升级到8.0
仅支持centos7系统ssh端口22#! /bin/bashset -esrc_path=’/tmp/src’zlib_version=‘zlib-1.2.11’openssh_version=‘openssh-8.0p1’openssl_version=‘openssl-1.0.2r’old_ssh_version=ssh -V 2>&1if [[ ! $old...原创 2019-09-24 13:46:16 · 473 阅读 · 0 评论