Bash history without line numbers
Try this:
$ history | cut -c 8-
If you were willing to switch to zsh isntead of bash, then zsh supports this natively (as well as other options for history formatting)
zsh> fc -ln 0
(See https://serverfault.com/questions/114988/removing-history-or-line-numbers-from-zsh-history-file)
awk
can help:
history|awk '{$1="";print substr($0,2)}'
This answer can fail if you have a long history.