What does `set -x` do? Take a look: help sethelp -m set | less set -x enables a mode of the shell where all executed commands are printed to the termi ...
分类:
系统相关 时间:
2020-04-17 23:42:11
阅读次数:
110
尝试了好多方法,最终选择推荐以下这种方法 方法原理: 修改 /etc/sudoers 文件,添加我们普通用户名,即可获得我们的root用户权限 在root 下 vim /etc/sudoers ## Allow root to run any commands anywhere root ALL=( ...
分类:
系统相关 时间:
2020-04-17 16:10:13
阅读次数:
149
需求:使用cluster slots命令,获取redis cluster 主从对应关系。 说明:cluster slots命令对应的字段说明:http://redis.cn/commands/cluster-slots.html redis-cli -h IP -p PORT -a PASSWD - ...
分类:
其他好文 时间:
2020-04-14 12:31:09
阅读次数:
65
文件系统 cd 进入目录 ls 列出目录信息,ls al (或 ll)列出详细信息 touch 新建文件 mkdir 新建目录 rm 删除文件或目录 cp 复制 mv 移动(或重命名) 搜索、查找、读取 tail 从文件尾部读取 head 从文件头部读取 cat 读取整个文件 more/less 分 ...
分类:
系统相关 时间:
2020-04-13 18:09:13
阅读次数:
99
If you do not have permission to create the directory object (and assuming that the directory object does not already exist), you'll need to send a re ...
分类:
其他好文 时间:
2020-04-13 12:28:50
阅读次数:
74
UVA 12657 Boxes in a Line You have n boxes in a line on the table numbered 1 . . . n from left to right. Your task is to simulate 4kinds of commands:? ...
分类:
移动开发 时间:
2020-04-13 01:10:00
阅读次数:
105
环境: OS:Centos 7 DB:18.0.0.0 1.停掉每个节点的crsRun "crsctl stop crs" on all nodes to stop CRS stack.2.关闭HAIPOn one node, run the following commands:在一个节点上执行如 ...
分类:
数据库 时间:
2020-04-07 20:55:31
阅读次数:
92
// *********************************************** //本篇主要针对创建各种自定义命令,重写命令,官方参考资料:https://on.cypress.io/custom-commands // // ************************* ...
分类:
其他好文 时间:
2020-03-29 13:05:28
阅读次数:
186
CDP 基于 WebSocket,利用 WebSocket 实现与浏览器内核的快速数据通道 CDP 分为多个域(DOM,Debugger,Network,Profiler,Console...),每个域中都定义了相关的命令和事件(Commands and Events) 我们可以基于 CDP 封装一 ...
分类:
其他好文 时间:
2020-03-27 21:16:24
阅读次数:
273
首先执行【pip --help】查看pip命令: 由Commands知:【pip list】命令查看已安装第三方库,另【pip list --outdated】可查看有新版本的第三方库。 ...
分类:
其他好文 时间:
2020-03-27 13:02:35
阅读次数:
2114