Skip to content
A Terminal Locker
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


ShellLocker is a Python3 script that provides an extra layer of security on your terminal.

To install:

git clone ~/.shelllocker

Add to .zshrc or .bashrc:

At some point in your .bashrc or .zshrc file, put:



If you are using .bash_aliases then put the following in .bash_aliases. If you are only using .bashrc or .zshrc, then put the following in your respective .rc file:

alias shellLock='python3 ~/.shelllocker/'

It is also recommended that you do:

chmod +x ~/.shelllocker/

Setting Up:

Run python3 ~/.shelllocker/ --setup

Run python3 ~/.shelllocker/ --help for more options

(Note if you are using the shellLock alias, you can do shellLock -h instead)

You can’t perform that action at this time.