(1)ssh ssh -p xx $user@ip 其中xx是端口号,user是用户名,ip是主机ip 比如:ssh -p 23241 root@192.168.1.2 参考:https://blog.csdn.net/z69183787/article/details/76153247 (2)sc ...
分类:
其他好文 时间:
2018-06-06 15:49:23
阅读次数:
117
查看文件内容-while: cat 1.txt|while read line;do echo $line;done while read line; do echo $line; done <./1.txt 从日志当中测试连接统计情况 while :; do tail -n 100 /app/ng ...
分类:
系统相关 时间:
2018-06-06 15:31:40
阅读次数:
285
Zabbix_server初始安装部署 各模块要安装的模块 Server:server+nginx+mysql+php Agentd:agentd Proxy:proxy+mysql 1.准备环境: Zabbix的Web Server基于LNMP环境 1.检查和安装依赖包 yum install m ...
分类:
其他好文 时间:
2018-06-06 15:25:04
阅读次数:
256
问题:不小心进行了错误的操作,想要回到前一步操作的时候 ? 方案: 1、快捷键:- 撤销与反撤销操作:Ctrl + z,Ctrl + Shift + z 2、工具栏设置: 把 View 中的 Toolbar 勾上: 出现如下: 左边一对箭头是操作的撤销或前进,右边一对水平箭头(红框)是程序往前往后跳 ...
分类:
其他好文 时间:
2018-06-06 10:42:34
阅读次数:
238
https://blog.csdn.net/slow_wakler/article/details/54895508 http://www.runoob.com/design-pattern/chain-of-responsibility-pattern.html https://www.cnblo ...
分类:
编程语言 时间:
2018-06-06 01:09:38
阅读次数:
300
1, cd 进入系统根目录 cd / 进入当前用户的主目录 cd ~ 进入当前目录的上一级目录 cd .. 跳转到指定目录,从根目录开始 cd /apps/ 2, pwd 查看当前工作目录的完整路径 3,tail -f test.log 将文件的最尾部内容显示在屏幕上,并且不断刷新 4,touch ...
分类:
系统相关 时间:
2018-06-06 01:05:17
阅读次数:
211
第一步,在宿主机配置代理端口 第二部,开启宿主机的代理端口给通网络物理机 ...
分类:
其他好文 时间:
2018-06-05 22:16:47
阅读次数:
170
1、大家来找茬https://testerhome.com/topics/11528 2、pip install numpy Matplotlib pip install opencv-python 3、https://blog.csdn.net/ibaymin/article/details/74 ...
分类:
其他好文 时间:
2018-06-05 11:27:32
阅读次数:
170
1.yaml 可以用来做数据驱动,比较灵活 ...
分类:
其他好文 时间:
2018-06-05 00:49:26
阅读次数:
571
6月5日任务2.10 环境变量PATH2.11 cp命令2.12 mv命令2.13 文档查看cat/more/less/head/tail环境变量PATH根windows一样,把绝对路径加到了环境变量中,只要命令是在环境变量中就不需要打全部的绝对路径。所以如果有新的命令想加到环境变量中就可以修改path这个变量的值。这个就涉及到shell,对之后的运维大有好处。如果想每次都生效,需要把环境变量改成
分类:
其他好文 时间:
2018-06-04 22:38:19
阅读次数:
166