cd "$(cat /path-to-session/SESSION_demo/bash\ -\ \\usr\\local\\/pwd)"
history -c
history -r /path-to-session/SESSION_demo/bash\ -\ \\usr\\local\\/history

VAR="`history 1 | sed -n '1 { p; q; }' | awk '{ print \$1; }'`" ; \
history -d $VAR ; \
yes '' | head -c1100 ; \
clear ; \
cat /path-to-session/SESSION_demo/bash\ -\ \\usr\\local\\/scrollback | \
sed ':a;N;$!ba;s/^\n\+//;s/\n\+$//' - | \
sed '$ d;' -
