![Forrest logo](/images/logo.png)
asciinema:tldr:867b8
asciinema: Replay a terminal recording from a local file.
$ asciinema play ${filename}.cast
try on your machine
This command is used to play an "asciicast" (Ascii Cinema Cast) file in the terminal.
Here is a breakdown of the command:
asciinema
: This is the command-line tool used to record and playback terminal sessions in the form of asciicasts.play
: This is a subcommand ofasciinema
that is used to play a recorded asciicast file.${filename}.cast
: This is the path to the asciicast file you want to play. The${filename}
part is a placeholder and should be replaced with the actual filename (without the.cast
extension). The.cast
extension indicates that it is an asciicast file.
By running this command, the specified asciicast file will be played in your terminal, replicating the recorded terminal session and its output.
This explanation was created by an AI. In most cases those are correct. But please always be careful and
never run a command you are not sure if it is safe.