The Fidelix Linux Distribution

Simple, Stable, and Secure

FLOCK(1) User Commands FLOCK(1)

flock - manual page for flock 1.31.1

flock [-sxun] FD|{FILE [-c] PROG ARGS}

BusyBox v1.31.1 (2020-04-30 13:38:01 EDT) multi-call binary.

[Un]lock file descriptor, or lock FILE, run PROG

-s
Shared lock
-x
Exclusive lock (default)
-u
Unlock FD
-n
Fail rather than wait
April 2020 Fidelix 1.0