Clear screen at MariaDB CLI

When you’re inside the MariaDB CLI, trying to clear the console using the clear command won’t work.

To clear the console, you need to add the \! symbol before the clear command.

The \! symbol can be used in MariaDB CLI to execute a system shell comma…


This content originally appeared on DEV Community and was authored by Sergio Peris

When you’re inside the MariaDB CLI, trying to clear the console using the clear command won’t work.

To clear the console, you need to add the \! symbol before the clear command.

The \! symbol can be used in MariaDB CLI to execute a system shell command.

\! clear

Alternatively, you can also use the CTRL + L command to clear the screen.


This content originally appeared on DEV Community and was authored by Sergio Peris


Print Share Comment Cite Upload Translate Updates
APA

Sergio Peris | Sciencx (2024-10-16T14:59:25+00:00) Clear screen at MariaDB CLI. Retrieved from https://www.scien.cx/2024/10/16/clear-screen-at-mariadb-cli/

MLA
" » Clear screen at MariaDB CLI." Sergio Peris | Sciencx - Wednesday October 16, 2024, https://www.scien.cx/2024/10/16/clear-screen-at-mariadb-cli/
HARVARD
Sergio Peris | Sciencx Wednesday October 16, 2024 » Clear screen at MariaDB CLI., viewed ,<https://www.scien.cx/2024/10/16/clear-screen-at-mariadb-cli/>
VANCOUVER
Sergio Peris | Sciencx - » Clear screen at MariaDB CLI. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2024/10/16/clear-screen-at-mariadb-cli/
CHICAGO
" » Clear screen at MariaDB CLI." Sergio Peris | Sciencx - Accessed . https://www.scien.cx/2024/10/16/clear-screen-at-mariadb-cli/
IEEE
" » Clear screen at MariaDB CLI." Sergio Peris | Sciencx [Online]. Available: https://www.scien.cx/2024/10/16/clear-screen-at-mariadb-cli/. [Accessed: ]
rf:citation
» Clear screen at MariaDB CLI | Sergio Peris | Sciencx | https://www.scien.cx/2024/10/16/clear-screen-at-mariadb-cli/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.