Forrest logo
back to context overview

flock

List of commands for flock:

  • flock:tldr:88093 flock: Run a command with a file lock, and exit with a specific error code if the lock doesn't exist.
    $ flock ${path-to-lock-lock} --nonblock --conflict-exit-code ${error_code} -c "${command}"
    try on your machine
    explain this command
  • flock:tldr:f8354 flock: Run a command with a file lock, and exit if the lock doesn't exist.
    $ flock ${path-to-lock-lock} --nonblock --command "${command}"
    try on your machine
    explain this command
  • flock:tldr:fa57d flock: Run a command with a file lock as soon as the lock is not required by others.
    $ flock ${path-to-lock-lock} --command "${command}"
    try on your machine
    explain this command
back to context overview