Skip to content

The clear command

In linux, the clear command is used to clear terminal screen.

Example

bash $ clear

Before:

```bash $ echo Hello World Hello World

$ clear ```

After executing clear command:

bash $

Screenshot:

clear command in linux example

After running the command your terminal screen will be clear:

clear command in linux


Last update: 2022-05-12
Back to top