Asciinema play run the command which is recorded on the server without manually typing it

Hi,

I have a recorded session using asciinema rec command. when i do asciinema play tmpiiryjqad-ascii.cast it will play the recorded session. Is there a way to actually execute those commands which is recorded on the Linux Server?

For example the below command is recorded and then i want to scp the recorded .cast file to the new server and invoke the command by asciinema application itself?

yum install lsof

Please comment.

Best Regards,

Kaushal

1 Like

Hi,

Checking in again if someone can pitch in for my earlier post to this mailing list? Thanks in advance.

Please comment.

Best Regards,

Kaushal

If your goal is to record commands solely to be able to send/run them again, I don’t think you should be using asciinema, send your bash history file instead. Unless you want to extract the commands from a recording, then you’ll have to parse the recording file and find a way to retrieve them. (Not sure if that has been done yet)

1 Like