原理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
[root@oraserver ~]# vi /etc/pam.d/login将以下内容注释掉:#session required /lib/security/pam_limits.so参考文章
分类:
系统相关 时间:
2014-07-30 11:35:53
阅读次数:
234
Xbrowser 使用xdcmp协议通过图形化桌面远程连接到linux,xftp 使用SSH协议传送文件到linux服务器,xshell 通过SSH终端协议连接到linux进行字符界面管理,Xstart 通过xstartsample图形化界面连接到lin...
分类:
其他好文 时间:
2014-07-30 00:33:02
阅读次数:
356
http://www.ibm.com/developerworks/cn/linux/l-lsm/part1/1.相关背景介绍:为什么和是什么近年来Linux系统由于其出色的性能和稳定性,开放源代码特性带来的灵活性和可扩展性,以及较低廉的成本,而受到计算机工业界的广泛关注和应用。但在安全性方面,Li...
分类:
系统相关 时间:
2014-07-29 21:34:32
阅读次数:
428
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