摘要: #!/bin/bashif [ -z "${MAVEN_HOME}" ]; then #得到时间 TIME_FLAG=`date +%Y%m%d_%H%M%S` #备份配置文件 cp /etc/profile /etc/profile.bak_... 阅读全文
posted @ 2015-03-02 15:44 mark.. 阅读(621) 评论(0) 推荐(0) 编辑
摘要: 具体设置的步骤如下:1. 打scrt,创建一个新的回话2. 右击该回话选择属性,定位到左边选项卡的登录动作3. 第一行:预期是$; 发送是ssh username@machine name 第二行:预期是password;发送是username的密码 阅读全文
posted @ 2015-03-02 11:28 mark.. 阅读(1791) 评论(0) 推荐(0) 编辑