11 2017 档案

摘要:1.打开Mac终端 2.切换到root登录 输入命令:sudo -i,然后输入本机密码 Mac:~ root# ssh test@127.0.0.1 Password: 3.终端输入:ssh username@hostname 如:ssh test@127.0.0.1 Mac:~ root# ss 阅读全文 »
posted @ 2017-11-20 14:17 TesterRoad 编辑
摘要:打开终端输入以下命令即可 显示Mac隐藏文件的命令:defaults write com.apple.finder AppleShowAllFiles -bool true 隐藏Mac隐藏文件的命令:defaults write com.apple.finder AppleShowAllFiles 阅读全文 »
posted @ 2017-11-17 15:24 TesterRoad 编辑
摘要:为了提高脚本的稳定性,我们需要在脚本中增加等待时间 第一种:强制等待 Thread.sleep():固定休眠时间设置,Java的Thread类里提供了休眠方法sleep,导入包后就能使用 sleep()方法以毫秒为单位 Thread.sleep(3000); 执行到此时不管什么就固定的等待三秒之后再 阅读全文 »
posted @ 2017-11-07 20:07 TesterRoad 编辑

点击右上角即可分享
微信分享提示

喜欢请打赏

扫描二维码打赏

支付宝打赏