#!/bin/bash #备份数据库 dir=/usr/share/nginx/html/project/ssh/backup/`date +%Y%m%d` mysqldb=test musqluser=root mysqlpwd=123456 mysqlicmd=/usr/bin/mysqldum ...
分类:
数据库 时间:
2020-06-25 21:46:08
阅读次数:
102
# 计算器: C:\Users\del>adb shell dumpsys window w |findstr \/ |findstr name= # mSurface=Surface(name=com.youba.calculate/com.youba.calculate.MainActivity ...
分类:
移动开发 时间:
2020-06-25 21:41:10
阅读次数:
94
一、主机检测命令ping #!/bin/bash #**************************************************** #Date: 2020-06-25 #Author: Damon Ye #FileName: MailPing.sh #Description ...
分类:
其他好文 时间:
2020-06-25 21:12:07
阅读次数:
38
# 计算器: C:\Users\del>adb shell dumpsys window w |findstr \/ |findstr name= # mSurface=Surface(name=com.youba.calculate/com.youba.calculate.MainActivity ...
分类:
移动开发 时间:
2020-06-25 19:52:42
阅读次数:
127
1.语法格式 1.1 最基本的格式 if [ condition ];then 符合if时执行的语句 fi 1.2 扩展格式 if [ condition ];then 符合该if时执行的语句 elif [ condition ];then 符合该if时执行的语句 else 都不符合时执行的语句 f ...
分类:
系统相关 时间:
2020-06-25 19:51:49
阅读次数:
70
一、脚本说明 #!/bin/bash #**************************************************** #Date: 2020-06-25 #Author: Damon Ye #FileName: ExtensionName.sh #Description: ...
分类:
编程语言 时间:
2020-06-25 19:49:16
阅读次数:
54
定义变量 [vagrant@localhost ssh]$ vi param.sh #!/bin/bash A=123 echo "$A" [vagrant@localhost ssh]$ ./param.sh 123 常见的系统变量 SHELL 常见的系统变量解析: $0 当前程序的名称 $n 当 ...
分类:
系统相关 时间:
2020-06-25 19:07:50
阅读次数:
69
主要区别: 'app': 'C:\\Users\\del\\Desktop\\b\\jsq.apk', 安装了就不需要路径,没有安装就需要路径 一、系统未按装待测app # C:\Users\del>adb shell dumpsys window w |findstr \/ |findstr na ...
分类:
移动开发 时间:
2020-06-25 17:56:52
阅读次数:
109
$0:当前shell脚本的文件名$1:shell脚本的第一个位置参数$2:shell脚本的第二个位置参数$3:shell脚本的第三个位置参数$9之后要加{};例如${10}、${11}...$*:所有传递的位置参数$@:所有传递的位置参数 $*与$@区别:不加""(双引号)时候两者相同 加了引号后, ...
分类:
系统相关 时间:
2020-06-25 17:25:11
阅读次数:
82