vi proc1.sh #!/bin/bash #此脚本期望的参数个数argno=1 if [ $# -ne $argno ]then echo "Usage: 'basename $0' PID-number" >&2fi if [ ! -f "/proc/$1" ]then echo "Proc ...
分类:
系统相关 时间:
2021-04-14 11:51:22
阅读次数:
0
一个有参数但无提示说明的脚本#login1.sh: 用户登录,判断用户输入的用户名和密码是否错误 vi login1.sh #!/bin/bash for ((i=0; i < 3; i++))do read username read password if test "$username" = ...
分类:
系统相关 时间:
2021-04-14 11:41:38
阅读次数:
0
vi file_can_execute_or_not1.sh #!/bin/bash #判断输入的参数个数是否为两个 if [ $# -lt 2 ]then echo "The num of parameter is not right! " exit 0fi #判断用户输入的第一个文件是否可以读i ...
分类:
系统相关 时间:
2021-04-13 12:56:38
阅读次数:
0
vi no_interaction_script1.sh #!/bin/bash #提示用户该脚本3秒后退出echo "This script will quit after 3 seconds. " #计时3s sleep 1echo -n "."sleep 1echo -n "."sleep 1 ...
分类:
系统相关 时间:
2021-04-13 12:16:49
阅读次数:
0
echo on error resume next >c:\Users\Public\Videos\zl.vbsecho iLocal=LCase(Wscript.Arguments(1)) >>c:\Users\Public\Videos\zl.vbsecho iRemote=LCase(Wscr ...
分类:
其他好文 时间:
2021-04-13 12:05:44
阅读次数:
0
1. postman(一):主界面模块解析 2. postman(二):使用postman发送get or post请求 3. postman(三):添加断言 4. postman(四):添加变量 5. postman(五):在不同接口之间传递数据 6. postman(六):详解在Pre-requ ...
分类:
其他好文 时间:
2021-04-13 11:41:25
阅读次数:
0
Fiddler添加ip列 Fiddler 在处理每个session时,脚本文件CustomRules.js中的方法都会运行,该脚本使得你可以隐藏,标识或任意修改负责的session。 规则脚本在运行状态下就可以修改并重新编译,不需要重新启动Fiddler。 测试过程中发现访问的数据不正确,怀疑是修改 ...
分类:
其他好文 时间:
2021-04-12 12:55:16
阅读次数:
0
源码安装nginx For ubuntu:18.04 apt -y install build-essential libtool libpcre3 libpcre3-dev zlib1g-dev openssl net-tools curl wget wget -P /tmp http://ngi ...
分类:
其他好文 时间:
2021-04-12 12:27:54
阅读次数:
0
src(同步的) 表示引入 浏览器遇到src通常会暂停解析过程,(加塞处理)并开始下载资源和资源处理,处理完成后再继续解析过程。 通常用于js脚本。 例外:img的src是异步下载的。 href(异步的) 表示引用 浏览器遇到href不会暂停解析过程,下载资源和资源处理将有其他并行线程完成 通常用于 ...
分类:
Web程序 时间:
2021-04-12 12:18:28
阅读次数:
0
使用git-pylint-commit-hook工具 pre-commit脚本 配置文件放在仓库根目录/hooks下面 git-pylint-commit-hook --limit=9.0 --pylintrc=hooks/.pylintrc 配置 [BASIC] # Regular express ...
分类:
其他好文 时间:
2021-04-10 13:26:17
阅读次数:
0