hardcopy -h '/path-to-session/SESSION_demo/bash - \usr\local\/scrollback'
stuff 'history -w /path-to-session/SESSION_demo/bash\ -\ \\usr\\local\\/history'"^M"
stuff 'pwd > /path-to-session/SESSION_demo/bash\ -\ \\usr\\local\\/pwd'"^M"
