mirror of
https://github.com/onceupon/Bash-Oneliner.git
synced 2025-10-13 13:21:06 +02:00
Add terminal trick
Record a terminal session
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user