How to clear the command line if you need to have a clean shell window in Linux

  • Knowledge Base
  • Linux
  • How to clear the command line if you need to have a clean shell window in Linux
  1. Type in the ‘clear‘ command and hit enter.
  2. Alternatively press the key combination ‘CTRL+L‘ together and it should also clear the screen.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.