
Clear Screen SFTP Prompt
When you connect to an SFTP server location using the macOS Terminal and you are on the sftp> prompt, you will see that the clear screen command does not work and gives you Invalid command error.
In order to clear the screen on the SFTP prompt you can make use of the keyboard shortcut Command + Control + L
Before:sftp> clear
Invalid command.
sftp> clear screen
Invalid command.
sftp> cls
Invalid command.
sftp>
After pressing Command + Control + L
sftp>
Note: you can also perform the same operation by going to the Terminal menu: Edit -> Clear Screen

Terminal Clear Screen Menu Option
More Posts related to MacOS,
- Add Line Break in Microsoft Excel Cell on Mac (macOS)
- How to view the desktop when using macOS Stage Manager?
- Mac - How to Install VirtualBox
- Must Know Homebrew Commands for Mac/Linux Users
- Show Desktop Keyboard Shortcut on Mac
- Check Reboot History Mac
- How to set Out Of Office (OOO) on Outlook for Mac
- How to Screenshot on Mac Ventura 13 - Step by Step Guide
- How to install maven in macOS using Terminal Command
- How to change macOS Safari default language
- How to hide or display Wifi icon in macOS Bug Sur Menu Bar
- Permanently Set or Change $JAVA_HOME on Mac (macOS)
- Two Ways to Extract rar (*.rar) files on Mac
- How to change Ping TTL value on macOS
- How to upgrade Docker Desktop on Mac
- [fix] macOS Ventura xcrun: error: invalid active developer path missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
- Installing brew on M1/M2 ARM Mac
- How to increase macOS Terminal text font size (Big Sur)
- How to open new tab in Sublime Text Editor [macOS]
- macOS: Change Weather App Temperature unit from Fahrenheit to Degree
- Clear SFTP Prompt Screen on macOS Terminal
- How to install homebrew (brew) on M1 Mac
- [Fix] brew: command not found Mac or Linux Terminal Error
- How to download and install macOS 13 Ventura
- How to install Zoom Add-in to Outlook (Mac)
More Posts:
- How to add ruler in Sublime Text tab window - Sublime-Text
- How to switch from bash to zsh shell in macOS Terminal - MacOS
- Create Symbolic Link using Terminal Command - MacOS
- How to un-hide tab bar in notepad++ - NotepadPlusPlus
- How to make a dummy phone call from Android Emulator device - Android
- How to enable anonymous public access for SharePoint Online site collection, file, folder without login ? - SharePoint
- [macOS] NetBeans IDE cannot be installed. Java (JRE) found on your computer but JDK XX or newer is required. - MacOS
- How to Identify installed PowerShell version - Powershell