
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,
- How to find files taking up space on your Mac
- How to open new tabs macOS Terminal
- Encode or Decode Base64 String using Mac Terminal Command
- How to take a screenshot on a Mac? (updated for macOS Monterey 2022)
- [macOS] NetBeans IDE cannot be installed. Java (JRE) found on your computer but JDK XX or newer is required.
- How to know your Mac Screen Resolution?
- How to make macOS Terminal window Transparent (or Opaque)
- [macOS] Change homepage Macbook Safari Browser
- Cut, Copy and Paste keyboard commands on mac
- Shutdown Mac Terminal Command
- Zsh Shell: Custom alias that you may find useful
- How to uninstall GarageBand from Mac
- How to Refresh Mac Desktop
- How to fix command not found brew (bash, zsh) on macOS Terminal
- How to Right Click on Mac Desktop?
- How to remove app from Dock when closed [macOS Big Sur]
- How to display directory tree in Mac Terminal
- [Eclipse] Locate Preferences in macOS
- How to save webpage as pdf using macOS Safari
- Set Python 3.8 as a default python version on macOS
- 10 Beginners Commands for macOS Terminal Usage
- Display Seconds in Digital Clock on Mac Menu Bar [macOS]
- [Solution] macOS Big Sur Installation: There is not enough free space, Additional Space Required
- How to search (find) in macOS Terminal Console Text
- How to come out of dquote prompt in Terminal - macOS/Linux
More Posts:
- Update Created By (Author) column of SharePoint document using PowerShell - SharePoint
- Install and Run Jupyter Notebook on Mac (macOS) - Python
- SharePoint workflow Canceled - Coercion Failed: Unable to transform the input lookup data into the requested type - SharePoint
- Syntax error, parameterized types are only available if source level is 1.5 or greater [Java] - Eclipse
- Tkinter - add x and y padding to label text - Python
- Maven Eclipse (M2e) No archetypes currently available - Java
- Facebook Graph API Unavailable - Facebook
- Fix Power Automate FLOW error - InvalidTemplate Unable to process template language expressions in action - Microsoft