bash history for current session
A slightly roundabout way:
history -a ~/current_history
This will save the current session's unsaved bash history to ~/current_history
, which you can then view.
A slightly roundabout way:
history -a ~/current_history
This will save the current session's unsaved bash history to ~/current_history
, which you can then view.