mirror of
https://github.com/onceupon/Bash-Oneliner.git
synced 2024-12-23 00:36:35 +00:00
edit bash globbing
This commit is contained in:
parent
8a552221bc
commit
f19e1eb7fd
10
README.md
10
README.md
@ -90,11 +90,13 @@ Esc + c
|
||||
# run cat filename again
|
||||
```
|
||||
|
||||
##### Bash inference for commands with question mark
|
||||
|
||||
##### Bash globbing
|
||||
```bash
|
||||
/b?n/?at /etc/pa??wd
|
||||
# will be converted to /bin/cat /etc/passwd
|
||||
# '*' character serves as a "wild card" for filename expansion.
|
||||
# '?' character serves as a single-character "wild card" for filename expansion.
|
||||
```bash
|
||||
/b?n/?at #/bin/cat
|
||||
/etc/pa*wd #/etc/passwd
|
||||
```
|
||||
|
||||
##### Some handy environment variables
|
||||
|
Loading…
Reference in New Issue
Block a user