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也不是很土,呵呵
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也不是很土,呵呵