I am a noob in bash to be honest. I have Googled around and cannot find an answer to this:
history lists previous commands and their number e.g.
$ history 286 clear
I want to be able to see the command number as I type a new command, instead of having to type
[ username ubuntu ~ ] $ becomes
[ username ubuntu ~ ] 286 $
Does anyone know how to achieve this in .bashrc, .bash_profile, .profile etc..?