1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages.es/linux/exec.md

21 lines
504 B
Markdown
Raw Normal View History

2024-12-31 17:29:33 -05:00
# exec
> Ejecuta un comando sin crear un proceso hijo.
> Más información: <https://www.gnu.org/software/bash/manual/bash.html#index-exec>.
- Ejecuta un comando específico:
`exec {{comando -con -opciones}}`
- Ejecuta un comando con un entorno (en su mayoría) vacío:
`exec -c {{comando -con -opciones}}`
- Ejecuta un comando como un shell de inicio de sesión:
`exec -l {{comando -con -opciones}}`
- Ejecuta un comando con un nombre diferente:
`exec -a {{nombre}} {{comando -con -opciones}}`