摘要: 1 ls -i --inode 显示节点号 2 systemctl systemctl 针对不同的类型有不同的命令,主要有1 unit Command 2 unit file Command 3 system Command 1) 显示及过滤unit、unit-file systemctl list 阅读全文
posted @ 2020-01-12 18:29 yaocai 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 1 http://cdimage.ubuntu.com/ ubuntu各个发行版的总集服务器 2 http://www.rpmfind.net/ 各种RPM包 阅读全文
posted @ 2019-10-12 10:45 yaocai 阅读(112) 评论(0) 推荐(0) 编辑
摘要: 1 netcat nc命令可以手动在两台主机间建产一条连接,并且能互相通信 hostA$ nc -l -p 5555 ;在主机A建立一个监听端口 hostB$ nc hostA 5555 -p 6666 ;在主机B发起一个连接hostB ss -nt state established ; 可以看到 阅读全文
posted @ 2019-10-11 12:26 yaocai 阅读(362) 评论(0) 推荐(0) 编辑
摘要: 如果系统级DNS缓存遭遇到污染,如何清除 DNS缓存存在什么地方 阅读全文
posted @ 2019-09-30 20:17 yaocai 阅读(145) 评论(0) 推荐(0) 编辑
摘要: 编写setup.py文件,获取帮助:python setup.py --help-commands [python] Standard commands: build build everything needed to install build_py "build" pure Python mo 阅读全文
posted @ 2019-04-29 21:09 yaocai 阅读(8870) 评论(0) 推荐(1) 编辑
摘要: 描述 dir() 函数不带参数时,返回当前范围内的变量、方法和定义的类型列表;带参数时,返回参数的属性、方法列表。如果参数包含方法__dir__(),该方法将被调用。如果参数不包含__dir__(),该方法将最大限度地收集参数信息。 语法 dir 语法: 参数说明: object -- 对象、变量、 阅读全文
posted @ 2019-04-29 20:52 yaocai 阅读(525) 评论(0) 推荐(0) 编辑
摘要: PWR 表示所接收的信号的强度。表示为负数,数值赿大表示信号赿强。(绝对值赿大,数据赿值小) beacons 表示网卡接收到的AP发出的信号个数 阅读全文
posted @ 2019-02-02 12:23 yaocai 阅读(1259) 评论(0) 推荐(1) 编辑
摘要: var[@] 数组的一个元素 var=("first" "second" "three") for str in ${var[@]}; do echo $str done 阅读全文
posted @ 2019-01-31 18:04 yaocai 阅读(3622) 评论(0) 推荐(0) 编辑
摘要: 1 显示交换机的MAC地址表 user mode : show mac-address-table 阅读全文
posted @ 2019-01-09 16:52 yaocai 阅读(246) 评论(0) 推荐(0) 编辑
摘要: adv子命令 Pass advanced options to gpg. With adv --recv-key you can e.g. download key from keyservers directly into the the trusted set of keys. Note tha 阅读全文
posted @ 2019-01-09 14:04 yaocai 阅读(2346) 评论(0) 推荐(1) 编辑