User Tools

Site Tools


wiki:record_terminal_sessions

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
wiki:record_terminal_sessions [2022/01/07 13:24] – [asciinema] add how to play asciinema file antisawiki:record_terminal_sessions [2023/06/05 12:35] (current) – [See also] add Play multigigabyte asciinema recordings antisa
Line 15: Line 15:
  
   apt install asciinema   apt install asciinema
 +
 +Then put this at the end of //.bashrc// to automatically record session when terminal is opened:
  
   test "$(ps -ocommand= -p $PPID | awk '{print $1}')" == 'sh' || (asciinema rec $HOME/Documents/terminal_logs/$(date +"%d-%b-%y_%H-%M-%S").cast)   test "$(ps -ocommand= -p $PPID | awk '{print $1}')" == 'sh' || (asciinema rec $HOME/Documents/terminal_logs/$(date +"%d-%b-%y_%H-%M-%S").cast)
Line 54: Line 56:
  
 ====== See also ====== ====== See also ======
 +  * [[Play multigigabyte asciinema recordings]]
 ====== References ====== ====== References ======
   * https://asciinema.org   * https://asciinema.org
wiki/record_terminal_sessions.1641561849.txt.gz · Last modified: 2022/01/07 13:24 by antisa

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki