Shell Builtins
alias
https://man7.org/linux/man-pages/man1/alias.1p.html
- Allowed standalone flags: -p
- Bare invocation allowed
- Hyphen-prefixed positional arguments accepted
bash / sh
https://www.gnu.org/software/bash/manual/bash.html
- Allowed: –version, –help,
bash -c/sh -cwith a safe inner command.
break / continue
https://www.gnu.org/software/bash/manual/bash.html#index-break
- Bare invocation or a single non-negative integer level (e.g.
break,break 2).
command
https://man7.org/linux/man-pages/man1/command.1p.html
- Requires -v, -V, –version. - Allowed standalone flags: –help, –version, -h
- Allowed valued flags: -v, -V
declare
https://www.gnu.org/software/bash/manual/html_node/Bash-Builtins.html
Aliases: typeset
- Allowed standalone flags: -A, -F, -a, -f, -g, -i, -l, -n, -p, -r, -t, -u, -x
- Bare invocation allowed
- Hyphen-prefixed positional arguments accepted
exit
https://man7.org/linux/man-pages/man1/exit.1p.html
- Bare invocation allowed
- Hyphen-prefixed positional arguments accepted
export
https://man7.org/linux/man-pages/man1/export.1p.html
- Allowed standalone flags: -f, -n, -p
- Bare invocation allowed
- Hyphen-prefixed positional arguments accepted
false
https://www.gnu.org/software/coreutils/manual/coreutils.html#false-invocation
- Allowed standalone flags: –help, –version, -V, -h
- Bare invocation allowed
hash
https://man7.org/linux/man-pages/man1/hash.1p.html
- Allowed standalone flags: -d, -l, -r, -t
- Allowed valued flags: -p
- Bare invocation allowed
- Hyphen-prefixed positional arguments accepted
hostname
https://man7.org/linux/man-pages/man1/hostname.1.html
- Allowed standalone flags: –help, –version, -A, -I, -V, -d, -f, -h, -i, -s
- Bare invocation allowed
printenv
https://www.gnu.org/software/coreutils/manual/coreutils.html#printenv-invocation
- Allowed standalone flags: –help, –null, –version, -0, -V, -h
- Bare invocation allowed
read
https://pubs.opengroup.org/onlinepubs/9799919799/utilities/read.html
- Allowed standalone flags: -r, -s
- Allowed valued flags: -a, -d, -n, -p, -t, -u
- Bare invocation allowed
- Hyphen-prefixed positional arguments accepted
true
https://www.gnu.org/software/coreutils/manual/coreutils.html#true-invocation
- Allowed standalone flags: –help, –version, -V, -h
- Bare invocation allowed
type
https://man7.org/linux/man-pages/man1/type.1p.html
- Allowed standalone flags: –help, –version, -P, -V, -a, -f, -h, -p, -t
unset
https://man7.org/linux/man-pages/man1/unset.1p.html
- Allowed standalone flags: –help, –version, -V, -f, -h, -n, -v
- Bare invocation allowed
wait
https://pubs.opengroup.org/onlinepubs/9799919799/utilities/wait.html
- Allowed standalone flags: –help, –version, -V, -h
- Bare invocation allowed
whereis
https://man7.org/linux/man-pages/man1/whereis.1.html
- Allowed standalone flags: –help, –version, -V, -b, -h, -l, -m, -s, -u
- Allowed valued flags: -B, -M, -S, -f
which
https://man7.org/linux/man-pages/man1/which.1.html
- Allowed standalone flags: –all, –help, –version, -V, -a, -h, -s
whoami
https://www.gnu.org/software/coreutils/manual/coreutils.html#whoami-invocation
- Allowed standalone flags: –help, –version, -V, -h
- Bare invocation allowed
xargs
https://www.gnu.org/software/findutils/manual/html_mono/find.html#Invoking-xargs
- Recursively validates the inner command. Skips xargs-specific flags (-I, -L, -n, -P, -s, -E, -d, -0, -r, -t, -p, -x).