You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by qi...@apache.org on 2019/11/02 14:46:50 UTC

[incubator-iotdb] branch master updated: Change "cli" to "client" (#508)

This is an automated email from the ASF dual-hosted git repository.

qiaojialin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git


The following commit(s) were added to refs/heads/master by this push:
     new dc0fd49  Change "cli" to "client" (#508)
dc0fd49 is described below

commit dc0fd49c9c0d5691a7f125bf9b92c6a8b8655b08
Author: Boris <zh...@gmail.com>
AuthorDate: Sat Nov 2 22:46:44 2019 +0800

    Change "cli" to "client" (#508)
---
 README.md                                          |  4 ++--
 .../UserGuide/0-Get Started/1-QuickStart.md        |  4 ++--
 .../4-Client/1-Command Line Interface(CLI).md      | 22 +++++++++++-----------
 .../UserGuide/0-Get Started/1-QuickStart.md        |  4 ++--
 .../0-Get Started/2-Frequently asked questions.md  |  4 ++--
 .../UserGuide/3-Server/5-Docker Image.md           |  6 +++---
 .../4-Client/1-Command Line Interface (Cli).md     | 22 +++++++++++-----------
 7 files changed, 33 insertions(+), 33 deletions(-)

diff --git a/README.md b/README.md
index e21e327..b6af643 100644
--- a/README.md
+++ b/README.md
@@ -158,10 +158,10 @@ Here is the command for starting the Cli:
 
 ```
 # Unix/OS X
-> sbin/start-cli.sh -h 127.0.0.1 -p 6667 -u root -pw root
+> sbin/start-client.sh -h 127.0.0.1 -p 6667 -u root -pw root
 
 # Windows
-> sbin\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw root
+> sbin\start-client.bat -h 127.0.0.1 -p 6667 -u root -pw root
 ```
 
 The command line client is interactive so if everything is ready you should see the welcome logo and statements:
diff --git a/docs/Documentation-CHN/UserGuide/0-Get Started/1-QuickStart.md b/docs/Documentation-CHN/UserGuide/0-Get Started/1-QuickStart.md
index af2dd6a..e556c99 100755
--- a/docs/Documentation-CHN/UserGuide/0-Get Started/1-QuickStart.md	
+++ b/docs/Documentation-CHN/UserGuide/0-Get Started/1-QuickStart.md	
@@ -109,13 +109,13 @@ IoTDB为用户提供多种与服务器交互的方式,在此我们介绍使用
 Linux系统与MacOS系统启动命令如下:
 
 ```
-> sbin/start-cli.sh -h 127.0.0.1 -p 6667 -u root -pw root
+> sbin/start-client.sh -h 127.0.0.1 -p 6667 -u root -pw root
 ```
 
 Windows系统启动命令如下:
 
 ```
-> sbin\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw root
+> sbin\start-client.bat -h 127.0.0.1 -p 6667 -u root -pw root
 ```
 
 启动后出现如图提示即为启动成功。
diff --git a/docs/Documentation-CHN/UserGuide/4-Client/1-Command Line Interface(CLI).md b/docs/Documentation-CHN/UserGuide/4-Client/1-Command Line Interface(CLI).md
index e06bf63..3017d9e 100644
--- a/docs/Documentation-CHN/UserGuide/4-Client/1-Command Line Interface(CLI).md	
+++ b/docs/Documentation-CHN/UserGuide/4-Client/1-Command Line Interface(CLI).md	
@@ -49,12 +49,12 @@ IOTDB为用户提供Client/Shell工具用于启动客户端和服务端程序。
 Linux系统与MacOS系统启动命令如下:
 
 ```
-  Shell > ./sbin/start-cli.sh -h 127.0.0.1 -p 6667 -u root -pw root
+  Shell > ./sbin/start-client.sh -h 127.0.0.1 -p 6667 -u root -pw root
 ```
 Windows系统启动命令如下:
 
 ```
-  Shell > \sbin\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw root
+  Shell > \sbin\start-client.bat -h 127.0.0.1 -p 6667 -u root -pw root
 ```
 回车后即可成功启动客户端。启动后出现如图提示即为启动成功。
 ```
@@ -90,12 +90,12 @@ IoTDB>
 Linux系统与MacOS系统启动命令如下:
 
 ```
-  Shell >./sbin/start-cli.sh -h 10.129.187.21 -p 6667 -u root -pw root -disableIS08601 -maxPRC 10
+  Shell >./sbin/start-client.sh -h 10.129.187.21 -p 6667 -u root -pw root -disableIS08601 -maxPRC 10
 ```
 Windows系统启动命令如下:
 
 ```
-  Shell > \sbin\start-cli.bat -h 10.129.187.21 -p 6667 -u root -pw root -disableIS08601 -maxPRC 10
+  Shell > \sbin\start-client.bat -h 10.129.187.21 -p 6667 -u root -pw root -disableIS08601 -maxPRC 10
 ```
 ## Cli / Shell的-e参数
 当您想要通过脚本的方式通过Cli / Shell对IoTDB进行批量操作时,可以使用-e参数。通过使用该参数,您可以在不进入客户端输入模式的情况下操作IoTDB。
@@ -105,7 +105,7 @@ Windows系统启动命令如下:
 针对Client/Shell工具的-e参数用法如下:
 
 ```
-  Shell > ./sbin/start-cli.sh -h {host} -p {port} -u {user} -pw {password} -e {sql for iotdb}
+  Shell > ./sbin/start-client.sh -h {host} -p {port} -u {user} -pw {password} -e {sql for iotdb}
 ```
 
 为了更好的解释-e参数的使用,可以参考下面的例子。
@@ -130,12 +130,12 @@ port=6667
 user=root
 pass=root
 
-./sbin/start-cli.sh -h ${host} -p ${port} -u ${user} -pw ${pass} -e "set storage group to root.demo"
-./sbin/start-cli.sh -h ${host} -p ${port} -u ${user} -pw ${pass} -e "create timeseries root.demo.s1 WITH DATATYPE=INT32, ENCODING=RLE"
-./sbin/start-cli.sh -h ${host} -p ${port} -u ${user} -pw ${pass} -e "insert into root.demo(timestamp,s1) values(1,10)"
-./sbin/start-cli.sh -h ${host} -p ${port} -u ${user} -pw ${pass} -e "insert into root.demo(timestamp,s1) values(2,11)"
-./sbin/start-cli.sh -h ${host} -p ${port} -u ${user} -pw ${pass} -e "insert into root.demo(timestamp,s1) values(3,12)"
-./sbin/start-cli.sh -h ${host} -p ${port} -u ${user} -pw ${pass} -e "select s1 from root.demo"
+./sbin/start-client.sh -h ${host} -p ${port} -u ${user} -pw ${pass} -e "set storage group to root.demo"
+./sbin/start-client.sh -h ${host} -p ${port} -u ${user} -pw ${pass} -e "create timeseries root.demo.s1 WITH DATATYPE=INT32, ENCODING=RLE"
+./sbin/start-client.sh -h ${host} -p ${port} -u ${user} -pw ${pass} -e "insert into root.demo(timestamp,s1) values(1,10)"
+./sbin/start-client.sh -h ${host} -p ${port} -u ${user} -pw ${pass} -e "insert into root.demo(timestamp,s1) values(2,11)"
+./sbin/start-client.sh -h ${host} -p ${port} -u ${user} -pw ${pass} -e "insert into root.demo(timestamp,s1) values(3,12)"
+./sbin/start-client.sh -h ${host} -p ${port} -u ${user} -pw ${pass} -e "select s1 from root.demo"
 ```
 
 打印出来的结果显示在下图,通过这种方式进行的操作与客户端的输入模式以及通过JDBC进行操作结果是一致的。
diff --git a/docs/Documentation/UserGuide/0-Get Started/1-QuickStart.md b/docs/Documentation/UserGuide/0-Get Started/1-QuickStart.md
index 46396b5..8ac1561 100755
--- a/docs/Documentation/UserGuide/0-Get Started/1-QuickStart.md	
+++ b/docs/Documentation/UserGuide/0-Get Started/1-QuickStart.md	
@@ -107,10 +107,10 @@ Here is the command for starting the Cli:
 
 ```
 # Unix/OS X
-> sbin/start-cli.sh -h 127.0.0.1 -p 6667 -u root -pw root
+> sbin/start-client.sh -h 127.0.0.1 -p 6667 -u root -pw root
 
 # Windows
-> sbin\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw root
+> sbin\start-client.bat -h 127.0.0.1 -p 6667 -u root -pw root
 ```
 
 The command line client is interactive so if everything is ready you should see the welcome logo and statements:
diff --git a/docs/Documentation/UserGuide/0-Get Started/2-Frequently asked questions.md b/docs/Documentation/UserGuide/0-Get Started/2-Frequently asked questions.md
index 8790cf7..7af8b03 100644
--- a/docs/Documentation/UserGuide/0-Get Started/2-Frequently asked questions.md	
+++ b/docs/Documentation/UserGuide/0-Get Started/2-Frequently asked questions.md	
@@ -43,7 +43,7 @@ There are several ways to identify the version of IoTDB that you are using:
 * Launch IoTDB's Command Line Interface:
 
 ```
-> ./start-cli.sh -p 6667 -pw root -u root -h localhost
+> ./start-client.sh -p 6667 -pw root -u root -h localhost
  _____       _________  ______   ______    
 |_   _|     |  _   _  ||_   _ `.|_   _ \   
   | |   .--.|_/ | | \_|  | | `. \ | |_) |  
@@ -142,6 +142,6 @@ IoTDB> show timeseries root.fit.d1.*
 The default IoTDB's Client time display format is human readable (e.g. ```1970-01-01T08:00:00.001```), if you want to display time in timestamp type or other readable format, add parameter ```-disableIS08601``` in start command:
 
 ```
-> $IOTDB_CLI_HOME/sbin/start-cli.sh -h 127.0.0.1 -p 6667 -u root -pw root -disableIS08601
+> $IOTDB_CLI_HOME/sbin/start-client.sh -h 127.0.0.1 -p 6667 -u root -pw root -disableIS08601
 ```
 
diff --git a/docs/Documentation/UserGuide/3-Server/5-Docker Image.md b/docs/Documentation/UserGuide/3-Server/5-Docker Image.md
index 541761e..6d547e5 100644
--- a/docs/Documentation/UserGuide/3-Server/5-Docker Image.md	
+++ b/docs/Documentation/UserGuide/3-Server/5-Docker Image.md	
@@ -66,16 +66,16 @@ suppose the IP is <C_IP>.
 4. If you just want to have a try by using iotdb-cli, you can:
 ```
 $ docker exec -it /bin/bash  <C_ID>
-$ (now you have enter the container): /cli/sbin/start-cli.sh -h localhost -p 6667 -u root -pw root
+$ (now you have enter the container): /cli/sbin/start-client.sh -h localhost -p 6667 -u root -pw root
 ```
 
 Or,  run a new docker container as the client:
 ```
-$ docker run -it iotdb:base /cli/sbin/start-cli.sh -h <C_IP> -p 6667 -u root -pw root
+$ docker run -it iotdb:base /cli/sbin/start-client.sh -h <C_IP> -p 6667 -u root -pw root
 ```
 Or,  if you have a iotdb-cli locally (e.g., you have compiled the source code by `mvn package`), and suppose your work_dir is cli/bin, then you can just run:
 ```
-$ start-cli.sh -h localhost -p 6667 -u root -pw root
+$ start-client.sh -h localhost -p 6667 -u root -pw root
 ```
 5. If you want to write codes to insert data and query data, please add the following dependence:
 ```xml
diff --git a/docs/Documentation/UserGuide/4-Client/1-Command Line Interface (Cli).md b/docs/Documentation/UserGuide/4-Client/1-Command Line Interface (Cli).md
index b67ef0d..2e0f8db 100644
--- a/docs/Documentation/UserGuide/4-Client/1-Command Line Interface (Cli).md	
+++ b/docs/Documentation/UserGuide/4-Client/1-Command Line Interface (Cli).md	
@@ -54,12 +54,12 @@ the port number of the server running, set the specific IP and PORT at -h and -p
 The Linux and MacOS system startup commands are as follows:
 
 ```
-  Shell > ./sbin/start-cli.sh -h 127.0.0.1 -p 6667 -u root -pw root
+  Shell > ./sbin/start-client.sh -h 127.0.0.1 -p 6667 -u root -pw root
 ```
 The Windows system startup commands are as follows:
 
 ```
-  Shell > \sbin\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw root
+  Shell > \sbin\start-client.bat -h 127.0.0.1 -p 6667 -u root -pw root
 ```
 After using these commands, the client can be started successfully. The successful status will be as follows: 
 
@@ -96,12 +96,12 @@ Following is a client command which connects the host with IP
 The Linux and MacOS system startup commands are as follows:
 
 ```
-  Shell > ./sbin/start-cli.sh -h 10.129.187.21 -p 6667 -u root -pw root -disableIS08601 -maxPRC 10
+  Shell > ./sbin/start-client.sh -h 10.129.187.21 -p 6667 -u root -pw root -disableIS08601 -maxPRC 10
 ```
 The Windows system startup commands are as follows:
 
 ```
-  Shell > \sbin\start-cli.bat -h 10.129.187.21 -p 6667 -u root -pw root -disableIS08601 -maxPRC 10
+  Shell > \sbin\start-client.bat -h 10.129.187.21 -p 6667 -u root -pw root -disableIS08601 -maxPRC 10
 ```
 ## Cli/shell tool with -e parameter
 
@@ -112,7 +112,7 @@ In order to avoid confusion between statements and other parameters, the current
 The usage of -e parameter for Cli/shell is as follows:
 
 ```
-  Shell > ./sbin/start-cli.sh -h {host} -p {port} -u {user} -pw {password} -e {sql for iotdb}
+  Shell > ./sbin/start-client.sh -h {host} -p {port} -u {user} -pw {password} -e {sql for iotdb}
 ```
 
 In order to better explain the use of -e parameter, take following as an example.
@@ -127,12 +127,12 @@ port=6667
 user=root
 pass=root
 
-./sbin/start-cli.sh -h ${host} -p ${port} -u ${user} -pw ${pass} -e "set storage group to root.demo"
-./sbin/start-cli.sh -h ${host} -p ${port} -u ${user} -pw ${pass} -e "create timeseries root.demo.s1 WITH DATATYPE=INT32, ENCODING=RLE"
-./sbin/start-cli.sh -h ${host} -p ${port} -u ${user} -pw ${pass} -e "insert into root.demo(timestamp,s1) values(1,10)"
-./sbin/start-cli.sh -h ${host} -p ${port} -u ${user} -pw ${pass} -e "insert into root.demo(timestamp,s1) values(2,11)"
-./sbin/start-cli.sh -h ${host} -p ${port} -u ${user} -pw ${pass} -e "insert into root.demo(timestamp,s1) values(3,12)"
-./sbin/start-cli.sh -h ${host} -p ${port} -u ${user} -pw ${pass} -e "select s1 from root.demo"
+./sbin/start-client.sh -h ${host} -p ${port} -u ${user} -pw ${pass} -e "set storage group to root.demo"
+./sbin/start-client.sh -h ${host} -p ${port} -u ${user} -pw ${pass} -e "create timeseries root.demo.s1 WITH DATATYPE=INT32, ENCODING=RLE"
+./sbin/start-client.sh -h ${host} -p ${port} -u ${user} -pw ${pass} -e "insert into root.demo(timestamp,s1) values(1,10)"
+./sbin/start-client.sh -h ${host} -p ${port} -u ${user} -pw ${pass} -e "insert into root.demo(timestamp,s1) values(2,11)"
+./sbin/start-client.sh -h ${host} -p ${port} -u ${user} -pw ${pass} -e "insert into root.demo(timestamp,s1) values(3,12)"
+./sbin/start-client.sh -h ${host} -p ${port} -u ${user} -pw ${pass} -e "select s1 from root.demo"
 ```
 
 The print results are shown in the figure, which are consistent with the client and jdbc operations.