1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-17 17:35:51 +02:00
tldr/pages.nl/common/nohup.md

21 lines
657 B
Markdown
Raw Normal View History

2024-06-26 17:19:54 +02:00
# nohup
> Laat een proces doorgaan wanneer de terminal wordt beëindigd.
> Meer informatie: <https://www.gnu.org/software/coreutils/manual/html_node/nohup-invocation.html>.
2024-06-26 17:19:54 +02:00
- Voer een proces uit dat kan doorgaan na het sluiten van de terminal:
`nohup {{commando}} {{argument1 argument2 ...}}`
- Start `nohup` in de achtergrondmodus:
`nohup {{commando}} {{argument1 argument2 ...}} &`
- Voer een shell-script uit dat kan doorgaan na het sluiten van de terminal:
`nohup {{pad/naar/script.sh}} &`
- Voer een proces uit en schrijf de uitvoer naar een specifiek bestand:
`nohup {{commando}} {{argument1 argument2 ...}} > {{pad/naar/uitvoer_bestand}} &`