Update cheatsheets

This commit is contained in:
ivuorinen
2024-02-21 11:19:49 +00:00
parent 4e88a1b42f
commit 3d653cc7e6
4803 changed files with 127002 additions and 0 deletions

25
linux/exec Normal file
View File

@@ -0,0 +1,25 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# 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 {{command -with -flags}}`
- Execute a command with a (mostly) empty environment:
`exec -c {{command -with -flags}}`
- Execute a command as a login shell:
`exec -l {{command -with -flags}}`
- Execute a command with a different name:
`exec -a {{name}} {{command -with -flags}}`