Maybe I'm overlooking something but is there a way to get your current bash history for the current session you are using likeif i runssh host$ pwd$ ls$ cd /tmpI just want to see those 3 commands and nothing else
bash history for current session
bash;command history
A slightly roundabout way:history -a ~/current_historyThis will save the current session's unsaved bash history to ~/current_history, which you can then view.