0

Currently I'm working with mysql from and unix terminal and I can't use clear command to clean all the window because is a unix command not a mysql command.

I look in others questions How to clear mysql screen console in windows? and how to clear previously run queries in mysql command prompt to find any way that works on unix (I'm using ubuntu) and doesn't work. The way I do is log-out from mysql, apply the clear command on $ prompt and relaunch mysql but its annoying.

NOTE: I also try ! clear from mysql running but it doesn't works.

Community
  • 1
  • 1
PlainOldProgrammer
  • 2,725
  • 5
  • 22
  • 30

1 Answers1

4

Try to use \! to call shell commands with clear

\! clear
tjati
  • 5,761
  • 4
  • 41
  • 56