使SecrueCRT自动记录当时自己输入的命令及系统显示内容,并添加时间。

日志自动保存到以hotsname命令的文件夹中

SecureCRT自动记录窗口内容

设置方法:

Options->Global Opthions,左侧选择Default Session,选择Edit Default Settings。

SecureCRT自动记录窗口内容

选择Log File

  1. 日志文件保存路径 X:\Documents\SecureCRT\Log\%H\%Y-%M-%D_%h%m%s
  2. 连接时记录日志 Upon connect:[%Y%M%D%h%m%s]
  3. 第一行添加时间On each line:[%h:%m:%s]

SecureCRT自动记录窗口内容

 

小技巧:

更改窗口缓冲区大小。默认为500行,可以更改为最大128000行。

SecureCRT自动记录窗口内容

相关文章:

  • 2021-09-26
  • 2022-12-23
  • 2021-06-26
  • 2021-12-20
  • 2021-09-04
  • 2022-12-23
  • 2022-12-23
  • 2021-12-25
猜你喜欢
  • 2021-11-25
  • 2022-12-23
  • 2021-07-11
  • 2021-05-15
相关资源
相似解决方案