compgen, eval, export, file: move to common (#6508)

This commit is contained in:
marchersimon
2021-09-13 15:24:42 +02:00
committed by GitHub
parent efeee14594
commit ac46610ce6
13 changed files with 2 additions and 78 deletions

24
pages/common/compgen.md Normal file
View File

@@ -0,0 +1,24 @@
# compgen
> A built-in command for auto-completion in Bash, which is called on pressing TAB key twice.
> More information: <https://www.gnu.org/software/bash/manual/bash.html#index-compgen>.
- List all commands that you could run:
`compgen -c`
- List all aliases:
`compgen -a`
- List all functions that you could run:
`compgen -A function`
- Show shell reserved keywords:
`compgen -k`
- See all available commands/aliases starting with 'ls':
`compgen -ac {{ls}}`