If I start a screen session with screen -dmS name, how would I access the command history of that screen session with a script?
screen -dmS name
Using the ↑, the
history will show all the history command.
history