I am using Mac OSX and I am looking for a command that fetches the history of the exits (when they exist) from the commands I have run. Is it possible?
I think Bash only contains the history of the commands entered. You can get it by entering "history". But I don't think Bash stores the output of these commands anywhere, it should be a function of your terminal emulator.