Skip to content

Ljut/Clear-terminal-screen-on-mac

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Clear-terminal-screen-on-mac

If you want to actually clear the terminal and not to have your terminal screen just scrolled down, then this script is for you!

Now it's written as a shell script, so you don't have to compile it yourself and it works on Linux and Mac OS.

How to use

When you want to clear your terminal screen, write a command:

cls

How to install cls with install.sh

  1. Open a terminal in a directory where is install.sh and run:
sh install.sh
  1. Reopen terminal

How to install manually

  1. If you don't want to use install.sh to install the script, you can write the next command in terminal in a directory where cls is:
sudo cp cls /usr/local/bin/
  1. Reopen terminal

About

If you want to actually clear the terminal screen without it just scrolling down, then this command is for you!

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages