bash cls command not found error
Reason: This error indicates that either you have typed a wrong command or the command does not exist, to be honest, if you are on a UNIX operating system such as macOS this command is not a valid command, you should be using clear instead. cls is a clear screen command for Windows Command Prompt (MS-DOS)
Solution: You should use clear command instead! ✔️
Know more about the clear command by typing help clear
$ clear help
Usage: clear [options]
Options:
-T TERM use this instead of $TERM
-V print curses-version
-x do not try to clear scrollback
Comments:
- Haha! Dude, I was like! "Why is this command not working", where am I doing it wrong! Until I googled it and realized that I am running a Linux command on Windows! Lolz Thank
12 Nov 2020 17:22:12 GMT
- Further comments disabled!
More Posts related to Linux,
- [Fix] Linux - bash: useradd: command not found
- Calculate days between dates using dateutils ddiff command
- pwd Command - Print Working Directory
- Rename a directory using Linux/Unix command
- How to go to the End of File in Nano Editor
- How to tar.gz a directory or folder Command
- How to remove/delete a directory in Linux/macOs
- How to Display content of a file in Terminal Screen?
- ls command sort by file size [Linix/UNIX/macOS/bash]
- How to Copy Entire Directory to another Directory in Linux
- 3 ways to clear screen on Linux Terminal
- Command to check Last Login or Reboot History of Users and TTYs
- How to check uptime of Linux/Unix/macOS system/server using console command?
- How to backup a file in Linux/Unix
- Command to know the installed Debian version?
- Check SSH/OpenSSH version Command
- 3 Commands to stop Nginx Server
- Linux: Create a New User and Password and Login Example
- How to install npm on Ubuntu
- How to List All Users in Linux
- How to Get the List of Shells on Linux
- Fix - ssh-copy-id no identities found error
- Installing and using unzip Command to unzip a zip file using Terminal
- scp: ssh: connect to host xxxx port 22: Connection refused Error
- zsh hello world example
More Posts:
- Bootstrap Nav Menu Dropdown on hover - Bootstrap
- How to load zsh profile on opening shell terminal - MacOS
- How to check PowerShell version - Powershell
- Docker - Error response from daemon: You cannot remove a running container - Docker
- Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end users experience - Java
- Java Read and Write Properties file with Examples - Java
- Notepad++ insert a blank line above or below the current line example - NotepadPlusPlus
- Flash Player will no longer be supported after December 2020. Turn off [Google Chrome] - Chrome