Skip to Main Content
Computer Hope
  • Help
  • Tips
  • Dictionary
  • History
  • Forums
  • Contact
  1. Home
  2. Help
  3. Linux

Linux clear command

Updated: 03/13/2021 by Computer Hope
clear command

On Unix-like operating systems, the clear command clears the screen.

Tip

When using the bash shell, you can also clear the screen by pressing Ctrl+L.

  • Syntax
  • Examples
  • Linux commands help

Syntax

clear

Examples

clear

Clear all text on the screen and display a new prompt.

  • Was this page useful?YesNo
    • Feedback
    • E-mail
    • Share
    • Print
    1. Recently added pages
    2. View all recent updates
    1. Useful links
    2. About Computer Hope
    3. Site Map
    4. Forum
    5. Contact Us
    6. How to Help
    7. Top 10 pages
    1. Follow us
    2. Facebook
    3. YouTube
    4. RSS
Computer Hope home page© 2024 Computer Hope
Legal Disclaimer - Privacy Statement