30 lines
577 B
Markdown
Executable File
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:
|
|
|
|

|
|
|
|
After running the command your terminal screen will be clear:
|
|
|
|
 |