How to clear screen?

QuestionsQuestions4 SkillsProBasic Files OperationsSep, 13 2025
0231

To clear the terminal screen in Linux, you can use any of the following methods:

  1. Using the clear command:

    clear
    
  2. Using the keyboard shortcut: Press Ctrl + L on your keyboard. This will also clear the screen.

  3. Using the reset command (if the terminal is corrupted):

    reset
    
  4. Using echo with escape sequences:

    echo -e "\033c"
    

Any of these methods will help you clear the terminal screen and provide a clean workspace.

0 Comments

no data
Be the first to share your comment!