From f9619440da405fcee1ebabe219d3c0cc5c0ef0b6 Mon Sep 17 00:00:00 2001 From: Bonnie I-Man Ng Date: Thu, 3 Apr 2025 10:53:58 +0800 Subject: [PATCH] Add terminal trick Record a terminal session --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index f109467..59c021b 100644 --- a/README.md +++ b/README.md @@ -238,6 +238,12 @@ eval "$cmd" echo "$bar" # foo ``` +##### Record a terminal session +```bash +# https://github.com/asciinema/asciinema +asciinema rec demo.cast +``` + ## Math [[back to top](#handy-bash-one-liners)] ##### Arithmetic Expansion in Bash (Operators: +, -, *, /, %, etc)