1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-16 04:55:45 +02:00

flock: add Dutch translation, lckdo: update More Info (#16331)

This commit is contained in:
Sebastiaan Speck 2025-05-03 20:44:15 +02:00 committed by GitHub
parent 36b0c9cea7
commit 2fcaf45e99
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 18 additions and 1 deletions

View file

@ -1,7 +1,7 @@
# lckdo
> Dit commando is verouderd en vervangen door `flock`.
> Meer informatie: <https://joeyh.name/code/moreutils/>.
> Meer informatie: <https://manned.org/lckdo>.
- Bekijk de documentatie van de aanbevolen vervanging:

17
pages.nl/linux/flock.md Normal file
View file

@ -0,0 +1,17 @@
# flock
> Beheer locks van shell scripts.
> Het kan gebruikt worden om ervoor te zorgen dat slechts één proces van een commando draait.
> Meer informatie: <https://manned.org/flock>.
- Voer een commando met een bestandslock uit zodra de lock niet meer nodig is voor anderen:
`flock {{path/to/lock.lock}} {{[-c|--command]}} "{{commando}}"`
- Voer een opdracht uit met een bestandslock en sluit af als de lock niet bestaat:
`flock {{pad/tot/lock.lock}} {{[-n|--nonblock]}} {{[-c|--command]}} "{{commando}}"`
- Voer een opdracht uit met een bestandslock en sluit af met een specifieke foutcode als de lock niet bestaat:
`flock {{pad/tot/lock.lock}} {{[-n|--nonblock]}} {{[-E|--conflict-exit-code]}} {{error_code}} {{[-c|--command]}} "{{commando}}"`