
zsh command not found error
If you see the above response if you tried running the cls command on macOS terminal on Big Sur zsh shell, well you just ran a Windows command on macOS! CLS: Clear Screen is a Window's command prompt command, you need to use the equivalent clear command instead|.
code2care@mac ~ % cls
zsh: command not found: cls
code2care@mac ~ %
code2care@mac ~ % clear
code2care@mac ~ % man clear
clear(1) clear(1)
NAME
clear - clear the terminal screen
SYNOPSIS
clear
DESCRIPTION
clear clears your screen if this
is possible. It looks in the
environment for the terminal type
and then in the terminfo database
to figure out how to clear the
screen.
clear ignores any command-line
parameters that may be present.
SEE ALSO
tput(1), terminfo(5)
More Posts related to MacOS,
- Clear Screen shortcut macOS Terminal
- What is macOS Ventura?
- [fix] How to Show file extensions on all files on Mac
- How to Find Where Mac Terminal App is Located?
- AutoSave button not working on Office on Mac (Word, Excel or Powerpoint)
- macOS say command text to speech using various voices and languages
- How to change Ping TTL value on macOS
- Open .bash_profile File in TextEdit using Terminal
- How to know the Safari Version on Mac
- How to Copy full Absolute Path of a File on Mac
- 13.0 MacOS Ventura release date
- Enable spell check in Sublime Text (macOS)
- How to Display Analog Clock on Mac Menu Bar
- How to turn off Location Services macOS Ventura 13
- How to Open VS Code on Mac
- Add Bookmark macOS Safari
- How to Fix cd: too many arguments Error in Terminal: A Step-by-Step Guide
- How to install wget on macOS
- Select Line Number TextEdit on Mac
- Strikethrough Text in Excel for Mac
- How to Enable or Disable Dark Mode on macOS Ventura 13
- How to hide or display Wifi icon in macOS Bug Sur Menu Bar
- How to install Yarn on Mac (macOS)
- How to fix command not found brew (bash, zsh) on macOS Terminal
- How to Schedule Mails in macOS Ventura
More Posts:
- Splitting String in Java with Examples - Java
- How to docker remove a container when it exits - Docker
- Compare two lists in Python and return matches - Python
- [fix] iCloud - Verification Failed: An unknown error occurred Apple ID - iOS
- Fix: Unable to edit text in TextEdit on Mac - MacOS
- How to take a Screenshot on iPhone with iOS 17 - iOS
- macOS say command text to speech using various voices and languages - MacOS
- [fix] NullPointerException Cannot Invoke findById because Repository is null - Java Spring - Java