1 Commits

Author SHA1 Message Date
f9619440da Add terminal trick
Record a terminal session
2025-04-03 10:53:58 +08:00

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)