原理shell代码如下:#!/bin/sh
cat../androidsrc|whilereadline
do
ip=$(echo$line|awk‘{print$1}‘)
srcdir=$(echo$line|awk‘{print$2}‘)
destdir=$(echo$line|awk‘{print$3}‘)
user=$(echo$line|awk‘{print$4}‘)
port=$(echo$line|awk‘{print$5}‘)
build=$(echo$line|awk‘{pr..
分类:
其他好文 时间:
2014-07-30 12:30:44
阅读次数:
337
Xbrowser 使用xdcmp协议通过图形化桌面远程连接到linux,xftp 使用SSH协议传送文件到linux服务器,xshell 通过SSH终端协议连接到linux进行字符界面管理,Xstart 通过xstartsample图形化界面连接到lin...
分类:
其他好文 时间:
2014-07-30 00:33:02
阅读次数:
356
find . -name "*.c" | xargs grep -H "hello"在当期目录下查找含有hello且后缀名为.c的文件ps ax | grep "sleep"当前正在运行的进程中是否含有sleep这个进程!!上次执行的命令cd -跳回上次进入的目录ssh jack@123.123.1...
分类:
系统相关 时间:
2014-07-29 20:56:32
阅读次数:
317
首先我们需要下载这个工具下载地址http://www.powershelladmin.com/wiki/SSH_from_PowerShell_using_the_SSH.NET_library#Downloads1下载的文件内容,请注意针对你使用的powershell版本下载相应的的版本,有支持powershell2.0以及支持powershell3.0和4.0。2检测一下你的系统powe..
分类:
系统相关 时间:
2014-07-29 18:22:22
阅读次数:
299
RedhatorFedora Core:/var/log/secure#Mandrake,FreeBSDorOpenBSD:/var/log/auth.log#SuSE:/var/log/messages#Mac OS X(v10.4 or greater):/private/var/log/asl...
分类:
系统相关 时间:
2014-07-29 17:41:32
阅读次数:
621
ssh整合 这个错误找了好久。Hibernate java.lang.NoSuchFieldError: INSTANCEat org.hibernate.type.BasicTypeRegistry.(BasicTypeRegistry.java:94)用的hibernate3.6.7在网上找到解...
分类:
编程语言 时间:
2014-07-29 17:06:12
阅读次数:
226
How to do SSH Tunneling (Port Forwarding) In this post we will see how ssh works?, what is SSH tunneling? what is important of ssh tunnels and how to ...
分类:
其他好文 时间:
2014-07-29 17:04:22
阅读次数:
576
SSH Tunneling Explained Recently I wanted to set up a remote desktop sharing session from home pc to my laptop. While going through the set up guide I...
分类:
其他好文 时间:
2014-07-29 16:55:54
阅读次数:
386
百度富文本web编辑器UEditor1.3上传图片附件等问题...
分类:
其他好文 时间:
2014-07-29 14:42:38
阅读次数:
259
方法一:从客户端入手方法二:从服务端入手修改/etc/ssh/sshd_config配置文件 ClientAliveInterval 300(默认为0)这个参数的是意思是每5分钟,服务器向客户端发一个消息,用于保持连接service sshd reload 生效
分类:
系统相关 时间:
2014-07-29 14:14:58
阅读次数:
263