Linux—asciinema 命令详解(终端录制工具),
Linux—asciinema 命令详解(终端录制工具),
录制终端视频
[root@localhost ~]# asciinema rec first.cast [root@localhost ~]# asciinema rec /www/wwwroot/first.cast # rec后面跟录制文件的保存位置 [root@localhost ~]# asciinema rec /www/wwwroot/first.cast --append # 追加录制
播放终端视频
[root@localhost ~]# asciinema play first.cast # 正常速度播放 [root@localhost ~]# asciinema play -s 2 first.cast # 以2倍速重播 [root@localhost ~]# asciinema play -i 2 first.cast # 正常速度播放,但空闲时间限制为2秒
上传录制到asciinema.org
这是一个默认的asciinema-server 实例,并打印一个秘密链接,您可以使用它来在Web浏览器中观看您的录制内容。输入exit,结束录制后,就会弹出视频保存的地址。
[root@localhost ~]# asciinema upload first.cast # 方式1:将录制好的放上去 [root@localhost ~]# asciinema rec # 方式2:直接在录制的时候,不加文件名,就会直接上传了
https://mp.weixin.qq.com/s/oqZqGiQ3uNrNuT-nGrh9lg
https://www.cnblogs.com/dggsec/p/9216112.html
评论暂时关闭