I have googled it and some says type cls then enter
.
But I have tried all :
"cls .cls cls; .cls;"
But no luck
Am I wrong or there is no cls
command in sqlite3?
In computing, CLS (for clear screen) is a command used by the command-line interpreters COMMAND.COM and cmd.exe on DOS, Digital Research FlexOS, IBM OS/2, Microsoft Windows and ReactOS operating systems to clear the screen or console window of commands and any output generated by them.
You can use Ctrl+L keyboard shortcut in Linux to clear the screen. It works in most terminal emulators.
sqlite3 is a terminal-based front-end to the SQLite library that can evaluate queries interactively and display the results in multiple formats. sqlite3 can also be used within shell scripts and other applications to provide batch processing features.
To execute CLS
command in the SQLite3 shell you need to do this: .shell cls
As simple as that, .shell args...
allows you to execute CMD commands in the SQLite3 shell.
There is no clear
command in the SQLite command-line client.
But, if you're on a unix-based system (includes Mac OS X) you can use: Ctrl+L
Update:
While my answer is quick and simple, if you're on a compatible OS, make sure you also check out ivan0590's answer about the .shell
command. Definitely a "good to know" as well.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With