pages.nl: add Dutch translation (#12130)

This commit is contained in:
Sebastiaan Speck
2024-01-25 03:03:23 +01:00
committed by GitHub
parent e100804204
commit 8b899a0c7f
6 changed files with 99 additions and 0 deletions

17
pages.nl/common/flock.md Normal file
View File

@@ -0,0 +1,17 @@
# flock
> Beheer sloten van shell scripts.
> Het kan worden gebruikt om ervoor te zorgen dat slechts één proces van een commando wordt uitgevoerd.
> Meer informatie: <https://manned.org/flock>.
- Voer een commando uit met een bestandslot zodra het slot niet vereist is door anderen:
`flock {{pad/naar/lock.lock}} --command "{{commando}}"`
- Voer een commando uit met een bestandslot en stop als het slot niet bestaat:
`flock {{pad/naar/lock.lock}} --nonblock --command "{{commando}}"`
- Voer een commando uit met een bestandslot en stop met een specifieke error code als het slot niet bestaat:
`flock {{pad/naar/lock.lock}} --nonblock --conflict-exit-code {{error_code}} -c "{{commando}}"`