Very often I find myself trying to learn something new which requires from me to run easy-to-forget console/terminal commands.
Sometimes I have to trial-and-error using different commands until I finally get it, which means I may have some difficulty trying to remember what I did next time I want to do it again.
To avoid this I find very useful to save my command line history so I can replay back everything I did step by step.