![]() ![]() ![]() If the filename argument is given then the resulting recording (called asciicast) is saved to a local file. If the filename argument is omitted then (after asking for confirmation) the resulting asciicast is uploaded to asciinema-server ( ) (by default to ), where it can be watched and shared. ![]() If the recorded process is not a shell then recording finishes when the process exits. Recording finishes when you exit the shell (hit Ctrl+D or type exit). This is useful when you want to execute some commands during the recording session that should not be captured (e.g. pasting secrets). You can temporarily pause recording of terminal by pressing Ctrl+\. The command (process) that is recorded can be specified with -c option (see below), and defaults to $SHELL which is what you want in most cases. rec īy running asciinema rec you start a new recording session. When you run asciinema with no arguments a help message is displayed, listing all available commands with their options. CommandsĪsciinema is composed of multiple commands, similar to git, apt-get or brew. asciinema is Free and Open Source Software licensed under the GNU General Public License v3. Upload a locally saved terminal session to : asciinema upload path/to/file.castĪsciinema command DescriptionĪsciinema lets you easily record terminal sessions, replay them in a terminal as well as in a web browser and share them on the web.Print the full output of a locally saved recording: asciinema cat path/to/file.cast.Make a new recording, limiting any idle time to at most 2.5 seconds: asciinema rec -i 2.5.Replay a terminal recording hosted on : asciinema play cast_id.Replay a terminal recording from a local file: asciinema play path/to/file.cast.Make a new recording and save it to a local file: asciinema rec path/to/file.cast.Make a new recording (once finished, user will be prompted to upload it or save it locally): asciinema rec.Associate the local install of asciinema with an account: asciinema auth.Terminal session recorder Examples (TL DR) ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |