sed(stream editer),流编辑器,对标准输出或文件逐行进行处理 一、语法格式: 1、stdout | sed [option] "pattern command" 2、sed [option] "pattern command" file 二、sed的选项 -n 只打印模式匹配行(静默 ...
分类:
系统相关 时间:
2020-04-06 17:11:27
阅读次数:
96
在 MAC 上 安装 Anaconda 后在 ITerm2 终端输命令总是会出现 zsh:command not found:conda,默认把路径写在 bash_profile 里面 ? bin cat ~/.bash_profile # added by Anaconda3 2.5.0 inst ...
分类:
系统相关 时间:
2020-04-06 15:24:20
阅读次数:
345
FunctionHotkey (Windows/Linux)Hotkey (macOS) New Ctrl + N Command + N New Window Ctrl + Shift + N Command +Shift + N New Tab (Not Supported) Command + ...
分类:
其他好文 时间:
2020-04-06 14:06:50
阅读次数:
122
python操作cmd 我们通常可以使用os模块的命令进行执行cmd 方法一:os.system os.system(执行的命令) # 源码 def system(*args, **kwargs): # real signature unknown """ Execute the command i ...
分类:
编程语言 时间:
2020-04-06 13:37:49
阅读次数:
88
Ansible: Configuration、Command and Control 是什么 ? SSH-based configuration management, deployment, and task execution system 运维工具的分类: agent:基于专用的agent程序 ...
分类:
其他好文 时间:
2020-04-06 10:10:01
阅读次数:
115
1. Editing (编辑) No.快捷键描述 1 Command+Shift+Enter 自动结束代码,行末自动添加分号 2 Command+P 显示方法的参数详情 3 Control+J 快速查看文档 4 Command+鼠标移上去 显示代码简要信息 5 Command+F1 在错误或警告处显 ...
分类:
系统相关 时间:
2020-04-06 09:50:30
阅读次数:
183
背景: 1)需要将yarn queue user的资源使用展示出来 2)数据已经存储在mysql里,需要过滤后插入到influxdb 3)由于历史数据比较多,用户的CPU、内存的数据分别有200万 分析: 1)查询mysql中m_bizhadoop_yarn_queue_userinfo的表中查询出 ...
分类:
数据库 时间:
2020-04-05 20:45:21
阅读次数:
387
RCE(remote command/code execute)概述 RCE漏洞,可以让攻击者直接向后台服务器远程注入操作系统命令或者代码,从而控制后台系统。 远程系统命令执行 一般出现这种漏洞,是因为应用系统从设计上需要给用户提供指定的远程命令操作的接口 比如我们常见的路由器、防火墙、入侵检测等设 ...
分类:
其他好文 时间:
2020-04-05 18:48:37
阅读次数:
91
一,基础词汇 1,more than more than 20 years I am more than happy to help you I am sure conditions over there will more than satisfy your requirements she wa ...
分类:
其他好文 时间:
2020-04-05 18:46:02
阅读次数:
151
Redis的复制功能分为同步(psync)和命令传播(command propagate)两个操作: 同步操作用于将从服务器的数据库状态更新至主服务器当前所处的数据库状态; 命令传播操作则用于在主服务器的数据库状态被修改,导致主从服务器的数据库状态出现不一致时,让主从服务器的数据库重新回到一致状态。 ...
分类:
其他好文 时间:
2020-04-05 18:26:13
阅读次数:
52