Tag Archives: cls

Using a symlink to emulate the windows command cls in Linux

Even though the command “clear” is really obvious in Linux (you can also use CTRL+L) I always forget and try and use the windows “cls” command. All you need to do to make it work on Linux is create a symlink (same as a Junction point in windows, NOT a shortcut) pointing back to the clear command. This is actually very simple and is achieved by the following command (Tested on LinuxMint but should work on all versions of Linux):

sudo ln -s /usr/bin/clear /usr/bin/cls