diff --git a/pages/common/clear.md b/pages/common/clear.md index aa133e6a9..fb7c1daae 100644 --- a/pages/common/clear.md +++ b/pages/common/clear.md @@ -2,6 +2,18 @@ > Clears the screen of the terminal. -- Clear the screen (equivalent to typing Control-L when using the bash shell): +- 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}}` + +- Show the version of `ncurses` used by `clear`: + +`clear -V`