It would be great to access all my commands run in terminal on OSX so I can review and use as a running reminder sheet.
I'm using Reverse-I-Search prompt and have updated my .bash_profile to store all of my history as mentioned here on Mactoids.
- Start Terminal
- Navigate to the Home folder by entering:
- Create .bash_profile by entering:
- Now, either edit .bash_profile in your favorite text editor or type this in the Terminal window to automatically open the file in the default TextEdit:
open -e .bash_profile
- Lastly, add this to the .bash_profile file:
- Save and exit
Any ideas how I could access as to output the terminal command history in OSX?