Starting cqlsh on Linux and Mac OS X
A brief description on starting cqlsh on Linux and Mac OS X.
This procedure briefly describes how to start cqlsh
on Linux and Mac OS X. The cqlsh
command is covered in
detail later.
Procedure
- Navigate to the Cassandra installation directory.
-
Start
cqlsh
on the Mac OSX, for example.$ bin/cqlsh
If you use security features, provide a user name and password. -
Print the help menu for
cqlsh
.$ bin/cqlsh --help
-
Optionally, specify the IP address and port to start
cqlsh
on a different node.$ bin/cqlsh 1.2.3.4 9042
Note: You can use tab completion to see hints about how to complete acqlsh
command. Some platforms, such as Mac OSX, do not ship with tab completion installed. You can use easy_install to install tab completion capabilities on Mac OSX:$ easy_install readline