Skip to content

A shell script that blocks certain websites for a certain length of time.

Notifications You must be signed in to change notification settings

freejoe76/blockit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

blockit

A shell script that blocks certain websites for a certain length of time.

Takes a list of sites from a text file called sites and blocks access to them for a certain number of minutes.

Arguments

Use --add / -a followed by the number of minutes to add a block.

Use --check / -c to check if the sites should still be blocked. This would ordinarily be done on the crontab.

Usage

Block sites for 3 hours:

$ ./blockit.bash -a 180

About

A shell script that blocks certain websites for a certain length of time.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages