Skip to content

Buct0r/cls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CLS

The cls command from windows command prompt for Linux

Demo cls

How to install it

Git clone:

In the terminal:

$ git clone https://github.com/Buct0r/cls.git && cd cls

then:

$ chmod +x cls && cp cls /usr/local/bin

If it gives you an error like this:

cp: cannot create regular file '/usr/local/bin/cls': Permission denied

Just run the previous command with sudo:

$ sudo cp cls /usr/local/bin

In alternative you can clone the repo and add the directory to path

$ git clone https://github.com/Buct0r/cls.git && cd cls

make it executable:

$ chmod +x cls

Edit your shell profile, depending on your system and shell:

$ vim ~/.bashrc

Add this line to the end of the file:

export PATH=$PATH:~/cls

And then source the file

$ source ~/.bashrc

wget

In your terminal type:

wget https://raw.githubusercontent.com/Buct0r/cls/main/cls

then:

chmod +x cls

Follow the previous steps to add the executable to your path variable

Without git

Download the source code and use the same commands as above.

Conclusion

If you decide to use the cls command, consider adding a star to the repo💫. I made this project mainly for fun and also because I'm pretty lazy and I prefferd to type less to clear the terminal output😓

Developed by Buct0r❤️

About

The cls command from windows command prompt for Linux

Topics

Resources

License

Stars

Watchers

Forks