linux解压日志文件并查看

linux解压日志文件并查看(unzip vi)

was_wcm@x-shcs-wcm-v01:/apps/logs/idm> ls
20170728  20170731  20170803  20170806  20170809  20170812  20170815  20170818  20170821  20170824       sqltrace
20170729  20170801  20170804  20170807  20170810  20170813  20170816  20170819  20170822  idm.log
20170730  20170802  20170805  20170808  20170811  20170814  20170817  20170820  20170823  perfStats.log
was_wcm@x-shcs-wcm-v01:/apps/logs/idm> cd 20170824
was_wcm@x-shcs-wcm-v01:/apps/logs/idm/20170824> ls
idm.0.log.zip
was_wcm@x-shcs-wcm-v01:/apps/logs/idm/20170824> unzip idm.0.log.zip 
Archive:  idm.0.log.zip
  inflating: idm.0.log               
was_wcm@x-shcs-wcm-v01:/apps/logs/idm/20170824> vi idm.0.log

linux解压日志文件并查看_第1张图片



你可能感兴趣的:(linux基本命令)