Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
cqlshを介してコマンドラインから直接コマンドを実行すると非常に便利な小さなシェルスクリプトを作成しようとしています。
MySQL では、次のようなことができます。
mysql -u root -e "show databases;"
に相当するcqlshはありますか、それとも-eファイルで実行して使用したいコマンドを入れるのに最も近いもの-fですか?
-e
-f
ありがとう
以下にリストされているその他のオプションがあります。