DEV Community

Cover image for Clear screen at MariaDB CLI
Sergio Peris
Sergio Peris

Posted on • Originally published at sertxu.dev

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 command.

\! clear
Enter fullscreen mode Exit fullscreen mode

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

Top comments (0)