Flock
lastmod 2020-09-11created 2020-09-116 edits
flock - Manage locks from shell scripts
Synopsis
$ flock [-sxon] [-w timeout] lockfile [-c] command...
$ flock [-sxon] [-w timeout] lockdir [-c] command...
$ flock [-sxun] [-w timeout] fd
See also
Favorite site
- flock(1): Manage locks from shell scripts - Linux man page
- How to use flock (script locking)
- Shell file lock using flock
- Mutual Exclusion | Introduction
- [Recommended] Bash Shell Script Guide - Introduction 1
References
-
BASH_shell-script.pdf ↩