Skip to content

Instantly share code, notes, and snippets.

@bidulock
Created April 11, 2017 19:28
Show Gist options
  • Save bidulock/89880bb7606c16092fba20eba19bb92b to your computer and use it in GitHub Desktop.
Save bidulock/89880bb7606c16092fba20eba19bb92b to your computer and use it in GitHub Desktop.
Blank a terminal screen
#!/bin/bash
# Ctrl-C to exit
# I use this by making a terminal full screen on a monitor and blanking it so I can focus on one monitor
trap "tput cnorm" EXIT INT TERM
tput civis; tput clear
sleep infinity
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment