That looks about right

on Ben’s Blog

[C:\Documents and Settings\btsai]

history | awk '{print $2}' | sort | uniq -c | sort -rn | head 'history' is not recognized as an internal or external command, operable program or batch file.