Latest / Developer tools

waitlock

github.com · Open source · Quiet

Command-line mutex for serializing long-running shell scripts

Visit github.com ↗Share

  • locking
  • shell mutex
  • bash lock command
  • semaphore for scripts
  • serialize shell scripts
  • posix lock tool
Stars
117
Forks
3
Open issues
0
Last commit
Found
16 months ago

GitHub figures as of . They are context, not a ranking.

waitlock is a small Linux command-line tool that provides mutex and semaphore locking for bash and sh scripts. It is meant for long-running operations where only one process should run at a time.

Repository description on GitHub: “Linux commandline tool to provide mutex/semaphore process safety for long running bash/sh operations.”

What it does

  • Mutex and semaphore locking for bash and sh scripts
  • Locks are released automatically when a process dies
  • Lists active locks in human, CSV or null-separated output
  • Runs a command while holding a lock

Good for

  • Serialize a long-running shell job so only one copy runs at a time
  • Limit a script to a set number of concurrent processes with a semaphore

Suits: Shell script authors who need to serialize long-running jobs.

What you can try

Read the README on GitHub and install from source.

Install

brew install waitlock

Taken from the project’s README. Read the project’s own instructions before running anything.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw waitlock on , when bigattichouse posted it to Show HN. GitHub listed no published releases for bigattichouse/waitlock when checked , so the project may ship straight from its main branch. The repository was created .

Day-7 and day-30 updates

Day 7 no new release

  • No tagged release was published in the first 7 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 34 points, 20 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 no new release

  • No tagged release was published in the first 30 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 34 points, 20 comments. API record

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

  1. Repository created on GitHub: bigattichouse/waitlock
  2. Found: bigattichouse posted it to Show HN. Show HN
  3. Day-7 check recorded by Kip (details)
  4. Day-30 check recorded by Kip (details)

Quick answers

When was waitlock released?
No dated release record is available. Kip found it on Show HN on 17 Jul 2025.
Is waitlock open source?
Its source is public on GitHub at bigattichouse/waitlock under the MIT licence.
What does waitlock run on?
Linux, Command line.
Is waitlock free?
It is open source, so the code is free to read and run; check the licence for terms.
Is waitlock still maintained?
It has had no commit or release for over a year as of the latest check.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
GitHub repositorybigattichouse/waitlock
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-44589833. Summary written by KipFound’s editor.

Share

Similar tools

More in Developer tools

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.