mirror of
https://github.com/onceupon/Bash-Oneliner.git
synced 2025-04-21 18:44:01 +00:00
Add terminal trick
Record a terminal session
This commit is contained in:
parent
3199d638ae
commit
f9619440da
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user