|
flock
☆
« Back to VersTracker
|
|||||||||||||||||||||||||||||||||||
|
Description: Lock file during command |
|||||||||||||||||||||||||||||||||||
| Type: Formula | Tracked Since: Dec 28, 2025 | |||||||||||||||||||||||||||||||||||
| Links: Homepage | formulae.brew.sh | |||||||||||||||||||||||||||||||||||
| Category: Developer tools | |||||||||||||||||||||||||||||||||||
| Tags: cli locking concurrency utility sysadmin | |||||||||||||||||||||||||||||||||||
| Install: brew install flock | |||||||||||||||||||||||||||||||||||
|
About: Flock is a command-line utility that manages file locks via the flock(2) system call. It executes a command while holding an exclusive or shared lock on a specified file, preventing concurrent access to critical resources. This ensures safe coordination for scripts and processes operating on shared files or devices. |
|||||||||||||||||||||||||||||||||||
Key Features:
|
|||||||||||||||||||||||||||||||||||
Use Cases:
|
|||||||||||||||||||||||||||||||||||
Alternatives:
|
|||||||||||||||||||||||||||||||||||
| Version History | |||||||||||||||||||||||||||||||||||
|