[Mac/Win] 查看历史命令(Display a full command prompt history for Mac and Windows OS)

来源:互联网 发布:java发送手机验证码 编辑:程序博客网 时间:2024/04/27 18:33

1. Mac OS

>history >>command.txt

 

2. Windows(Verified on XP and Vista)

1) CLI

>doskey /h >>command.txt

 

2) GUI

http://www.watchingthenet.com/recall-commands-in-windows-xp-with-command-prompt-history.html

cml-->"F7"

 

看来windows也不是很土,呵呵

 

原创粉丝点击