mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-05 14:55:56 +00:00
Update cheatsheets
This commit is contained in:
25
clear
Normal file
25
clear
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# clear
|
||||
|
||||
> Clears the screen of the terminal.
|
||||
> More information: <https://manned.org/clear>.
|
||||
|
||||
- Clear the screen (equivalent to pressing Control-L in Bash shell):
|
||||
|
||||
`clear`
|
||||
|
||||
- Clear the screen but keep the terminal's scrollback buffer:
|
||||
|
||||
`clear -x`
|
||||
|
||||
- Indicate the type of terminal to clean (defaults to the value of the environment variable `TERM`):
|
||||
|
||||
`clear -T {{type_of_terminal}}`
|
||||
|
||||
- Display the version of `ncurses` used by `clear`:
|
||||
|
||||
`clear -V`
|
||||
Reference in New Issue
Block a user