Files
linux.softwareshinobi.com/landing/docs/Linux-Commands/Terminal-Experience/043-the-clear-command.md
2025-03-14 15:46:26 -04:00

30 lines
577 B
Markdown
Executable File

# 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](https://user-images.githubusercontent.com/21223421/135708520-5fb54205-39ce-4e9c-b376-7569d0c4420d.png)
After running the command your terminal screen will be clear:
![clear command in linux](https://user-images.githubusercontent.com/21223421/135708538-f01de268-3cf6-4f3a-a32b-a14fb67575f1.png)