Linux下,用命令进行 日志分割、日志合并

指定文件大小分割:

split -b 10m catalina.out imsoft

以每个文本文件10M方式分割日志

文件合并:

cat small_file* > large_file

posted on 2017-08-03 10:12  imsoft  阅读(2596)  评论(0编辑  收藏  举报

导航