Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I clear the screen in the MySQL console? [duplicate]

I am not able to clear the screen in the MySQL command line prompt. My screen is filled with tables, data and queries. How can I clear it up?

like image 400
Navneet Nandan Jha Avatar asked Oct 15 '13 08:10

Navneet Nandan Jha


People also ask

How do I clear the screen in MySQL command line?

clear mysql> !\ cls mysql> system cls mysql> system clear ..

How do I clear the console screen?

You can use Ctrl+L keyboard shortcut in Linux to clear the screen. It works in most terminal emulators. If you use Ctrl+L and clear command in GNOME terminal (default in Ubuntu), you'll notice the difference between their impact.

How do I clear the screen in MySQL 5.7 command line client?

Use '! reset' this will clear the terminal.


1 Answers

Ctrl+L

will do it - it's a shell command, but it works well in the MySQL console.

like image 144
exussum Avatar answered Oct 04 '22 21:10

exussum