terminal_commands
Add cls
and clear
custom commands to both Windows and Linux so you don’t punch a hole in the monitor when you keep typing the wrong one.
This is the simpler one of the two.
Text editor: (notepad)
Just open notepad, type in cls
and save it as “C:\Windows\Clear.bat”. Now every time you’re in CMD and type clear
, you will clear your screen just like cls
.
Command Prompt:
Elevate yourself as admin and run echo cls > C:\Windows\Clear.bat
.
A little more time consuming, but simple none the less. After this, typing cls
will clear your prompt.
Terminal:
Elevate yourself to root and run echo clear > /usr/bin/cls; chmod 777 /usr/bin/cls
Just something small that keeps your from pulling out your hair.