摘要: tail :输出文件的最后几行。 用于linux查看日志的时候很方便,假如日志文件为:Console.log用法:1. tail Console.log 2. tail -f Console.log 3. tail -nf Console.log --n为最后n行 4. tail -n 10 fil 阅读全文
posted @ 2019-05-15 14:31 时光飞逝,逝者如斯 阅读(14733) 评论(0) 推荐(0) 编辑
摘要: 0x00 _cat系列 _cat系列提供了一系列查询elasticsearch集群状态的接口。你可以通过执行curl -XGET localhost:9200/_cat 1. 获取所有_cat系列的操作 你也可以后面加一个v,让输出内容表格显示表头,举例 0x01 _cluster系列 1、查询设置 阅读全文
posted @ 2019-05-15 14:26 时光飞逝,逝者如斯 阅读(1069) 评论(0) 推荐(0) 编辑