Merge pull request #8 from acmello/bash-inference

expand documentation for terminal tricks
This commit is contained in:
I-Man Ng 2019-05-14 12:17:57 +08:00 committed by GitHub
commit 8a552221bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -90,6 +90,13 @@ Esc + c
# run cat filename again
```
##### Bash inference for commands with question mark
```bash
/b?n/?at /etc/pa??wd
# will be converted to /bin/cat /etc/passwd
```
##### Some handy environment variables
```
$0 :name of shell or shell script.