1. [Home](<https://delaparra-services.nl/>) 
1. [Knowledge hub](<https://delaparra-services.nl/knowledge-hub>) 
1. [Clear Screen](<https://delaparra-services.nl/knowledge-hub/clear-screen>)

  

Category: Keyboard shortcuts 

# Clear Screen

  Explained by [Reinier de la Parra](<https://delaparra-services.nl/about>)  Updated November 25, 2026    

## What is Clear Screen?

 

Clear Screen: Wipe the terminal screen, keeping the current command line intact. Clearing the terminal removes old output from the screen so you can start fresh. ` Ctrl+L ` works in most shells and keeps the command you were typing. The ` clear ` command does the same. In the macOS Terminal and iTerm, ` Cmd+K ` also clears the scrollback.

 

Definition source [Coders Lingo](<https://coderslingo.com/resources/open-dataset/>), [CC BY 4.0](<https://creativecommons.org/licenses/by/4.0/>)

 

## Frequently asked questions about Clear Screen

  

### How is Clear Screen used in practice?

 

It is a small habit that helps when debugging. Clear the screen, run the command again, and everything you see belongs to this run. You no longer mix up an old error with a new one.

    

### What should you keep in mind with Clear Screen?

 

Clearing only affects what is shown. It does not undo anything or affect running processes. If you need to keep the output, for example to share an error, copy it or redirect it to a file before you clear. Some terminals keep the scrollback even after ` clear `, which is handy when you cleared too soon.

 

## At a glance

   CategoryKeyboard shortcuts Explained by[Reinier de la Parra](<https://delaparra-services.nl/about>) UpdatedNovember 25, 2026

 

## More Keyboard shortcuts terms

 

- [Autocomplete](<https://delaparra-services.nl/knowledge-hub/autocomplete>) 
- [Cancel / Interrupt (SIGINT)](<https://delaparra-services.nl/knowledge-hub/cancel-interrupt-sigint>) 
- [ciw (change inner word)](<https://delaparra-services.nl/knowledge-hub/ciw-change-inner-word>) 
- [Command Palette](<https://delaparra-services.nl/knowledge-hub/command-palette>) 
- [Copy Line Up / Down](<https://delaparra-services.nl/knowledge-hub/copy-line-up-down>) 
- [dd (delete line)](<https://delaparra-services.nl/knowledge-hub/dd-delete-line>)

 

[All terms starting with C](<https://delaparra-services.nl/knowledge-hub#letter-c>)

 

## Skills

 

- ### Editor shortcuts (VS Code / Cursor and Vim)

 

Use when a user asks how to do something faster in VS Code (or Cursor) or Vim, asks what a keyboard shortcut does (e.g. Ctrl+D, Ctrl+Shift+P, F12, gg, dd, yy, ciw, :wq), wants to customise keybindings, or is stuck in Vim. Gives the correct shortcut for their operating system and can write keybindings.json entries.

 [View skill](<https://delaparra-services.nl/skills/editor-shortcuts>) [Download zip](<https://delaparra-services.nl/skills/editor-shortcuts/download>)

 

## Manuals

 

- [Keyboard shortcuts in VS Code and the terminal](<https://delaparra-services.nl/manuals/sneltoetsen-in-vs-code>) 
- [Installing Visual Studio Code](<https://delaparra-services.nl/manuals/visual-studio-code-installeren>)

 

## Need any help?

 

Stuck on one of these in your own project? Tell me what you are working on and I will tell you how I would approach it.

  [Get in touch](<https://delaparra-services.nl/availability>)

[HTML version](https://delaparra-services.nl/knowledge-hub/clear-screen)
