DEV Community

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

Posted on • Edited 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)

Image of Timescale

Timescale – the developer's data platform for modern apps, built on PostgreSQL

Timescale Cloud is PostgreSQL optimized for speed, scale, and performance. Over 3 million IoT, AI, crypto, and dev tool apps are powered by Timescale. Try it free today! No credit card required.

Try free

👋 Kindness is contagious

Dive into an ocean of knowledge with this thought-provoking post, revered deeply within the supportive DEV Community. Developers of all levels are welcome to join and enhance our collective intelligence.

Saying a simple "thank you" can brighten someone's day. Share your gratitude in the comments below!

On DEV, sharing ideas eases our path and fortifies our community connections. Found this helpful? Sending a quick thanks to the author can be profoundly valued.

Okay