You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The CLEAR command in CQLSH is a utility command that cleans up the terminal window by clearing all previous output from the screen[1][2]. Here are the key details about using CLEAR:
Usage Methods
Command Syntax
You can use either CLEAR or CLS as the command[1]
No parameters are required for this command[1]
Keyboard Shortcut
You can also use CTRL+L as a keyboard shortcut to clear the screen[1][4]
Platform Considerations
Unix/Linux
The CLEAR command works natively in bash shell environments[4]
Windows
In Windows command prompt, clearing the screen within CQLSH may be more limited[4]
You might need to exit CQLSH and use the Windows CLS command separately[4]
Example Usage
cqlsh> CLEAR
cqlsh> CLS
This command will remove all previous output and give you a clean terminal window to work with[2]. It's particularly useful when you want to declutter your workspace after executing multiple commands or queries.
The CLEAR command in CQLSH is a utility command that cleans up the terminal window by clearing all previous output from the screen[1][2]. Here are the key details about using CLEAR:
Usage Methods
Command Syntax
CLEAR
orCLS
as the command[1]Keyboard Shortcut
Platform Considerations
Unix/Linux
Windows
CLS
command separately[4]Example Usage
cqlsh> CLEAR
cqlsh> CLS
This command will remove all previous output and give you a clean terminal window to work with[2]. It's particularly useful when you want to declutter your workspace after executing multiple commands or queries.
Citations:
[1] https://docs.datastax.com/en/cql/hcd-1.0/reference/cqlsh-commands/clear.html
[2] https://www.cloudduggu.com/cassandra/shell-commands/
[3] https://www.i2tutorials.com/cassandra-tutorial/cassandra-cqlsh-commands/
[4] https://stackoverflow.com/questions/29573615/clearing-cassandra-cqlsh-console-in-windows
The text was updated successfully, but these errors were encountered: