mirror of
https://github.com/onceupon/Bash-Oneliner.git
synced 2025-11-02 22:21:05 +01: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