Capture and share terminal commands with Monitor