Get the latest tech news

Self-imposed ban – a lightweight bash script to block commands


ban. Contribute to alex-moon/ban development by creating an account on GitHub.

A lightweight Bash script to help you block yourself from using time-wasting or distracting commands until a specified date with optional reasons and friendly reminders. Perfect for developers and terminal junkies trying to reclaim their focus. If you have suggestions for improvements or new features, please open an issue or submit a pull request.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of self

self

Photo of commands

commands

Photo of imposed ban

imposed ban

Related news:

News photo

Self-destructing SSD brings espionage-level security to data protection | Select either a software wipe that preserves the drive or hardware-level destruction that renders it unusable

News photo

New Windows 11 build adds self-healing "quick machine recovery" feature

News photo

AnyBlox: A Framework for Self-Decoding Datasets [pdf]