exec
Execute a command without creating a child process. More information: https://www.gnu.org/software/bash/manual/bash.html#index-exec.
- Execute a specific command:
exec
- Execute a command with a (mostly) empty environment:
exec -c
- Execute a command as a login shell:
exec -l
- Execute a command with a different name:
exec -a
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
