window10 power shell 他记住了我的命令行,通过键盘上下键可以找到,这个有没有办法把它彻底清空?

右键--属性--选项,里面有个命令记录设置下就可以了(win键+x唤起power shell )

Win10 清除 PowerShell 历史记录的方法

 

或者运行命令:

Remove-Item (Get-PSReadlineOption).HistorySavePath

需要关闭窗口,再打开窗口用键盘上下键就不会出现了

Win10 清除 PowerShell 历史记录的方法

 

相关文章:

  • 2021-12-23
  • 2021-10-04
  • 2021-06-09
  • 2021-09-13
  • 2021-12-24
  • 2022-01-05
  • 2022-02-09
  • 2021-11-20
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-01-07
  • 2021-11-14
  • 2022-02-09
  • 2021-10-27
  • 2022-12-23
相关资源
相似解决方案