Add terminal trick

Record a terminal session
This commit is contained in:
Bonnie I-Man Ng 2025-04-03 10:53:58 +08:00 committed by GitHub
parent 3199d638ae
commit f9619440da
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -238,6 +238,12 @@ eval "$cmd"
echo "$bar" # foo echo "$bar" # foo
``` ```
##### Record a terminal session
```bash
# https://github.com/asciinema/asciinema
asciinema rec demo.cast
```
## Math ## Math
[[back to top](#handy-bash-one-liners)] [[back to top](#handy-bash-one-liners)]
##### Arithmetic Expansion in Bash (Operators: +, -, *, /, %, etc) ##### Arithmetic Expansion in Bash (Operators: +, -, *, /, %, etc)