compgen: add example to show completing given strings (#15287)
This commit is contained in:
@@ -7,6 +7,10 @@
|
|||||||
|
|
||||||
`compgen -c`
|
`compgen -c`
|
||||||
|
|
||||||
|
- List all commands that you could run that start with a specified string:
|
||||||
|
|
||||||
|
`compgen -c {{str}}`
|
||||||
|
|
||||||
- List all aliases:
|
- List all aliases:
|
||||||
|
|
||||||
`compgen -a`
|
`compgen -a`
|
||||||
|
Reference in New Issue
Block a user