Hacker GitHub

← All repos

jakeogh/commandlock

View on GitHub ↗ ★ 0 Shell

Prevent identical bash/sh command lines from executing concurrently.

3 mentions on Hacker News by 1 person: 0 stories, 3 comments · first 2020-02-02 · latest 2023-05-10

Mentions per year 3 mentions · busiest year 2020 (2)
20082026
  1. I spent some time formalizing mkdir/noclobber locks (with lots of help from #bash): https://github.com/jakeogh/commandlock Long term work in progress... needs a simple Makefile
    comment by jakeogh · 2023-05-10 · in File Locks on Linux
  2. …is a bug somewhere) and considerable #bash advice to make a simple script that locks commands+args https://github.com/jakeogh/commandlock I also wrote a MDA wrapper for gnupg, and again, it took years to feel good about having my mail…
    comment by jakeogh · 2020-09-08 · in Bash Pitfalls
  3. …shell scripts without bugs. This one took years, and I suspect #bash could still find a bug: https://github.com/jakeogh/commandlock On the other hand, this is amazing: https://github.com/speed47/spectre-meltdown-checker
    comment by jakeogh · 2020-02-02 · in Writing Safe Shell Scripts (2019)