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:
parent
36b0c9cea7
commit
2fcaf45e99
2 changed files with 18 additions and 1 deletions
|
@ -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
17
pages.nl/linux/flock.md
Normal 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}}"`
|
Loading…
Add table
Reference in a new issue