查看节点信息(可以在/后面添加新的路径)
(子节点变化(监听sanguo节点的子节点数)的监听:is /sanguo watch )
ls /
ls /sanguo
查看节点详细信息
ls2 /
创建节点(create 路径 值)(需一级一级创建)
(创建短暂节点就在create后加 -e )
(创建带序号节点就在create后加 -s )
create /sanguo “jinlian”
create /sanguo/shuguo "liubei"
获取节点的值(监听值:get /sanguo/shuguo watch)
get /sanguo/shuguo
修改节点的值
set /sanguo/shuguo "liubei"
删除节点(需要从子节点删,没有子节点了才能删)
delete /sanguo/shuguo
递归删除节点(全删完)
rmr /sanguo