码迷,mamicode.com
首页 >  
搜索关键字:shell find    ( 51950个结果
SSH学习之三 SSH与SCP无密码登录
通常情况下,每次使用ssh登录或使用scp复制远程系统的文件时,都需要提供密码,然后才能做进一步的处理。为了省略输入密码这一步骤,有时可以采用Shell脚本的方法解决,但这需要把手工输入的密码以明码形式放在脚本文件中。          利用密钥配置文件,OpenSSH可以是ssh远程登录与scp文件复制的操作过程中省略密码验证的中间环节。...
分类:其他好文   时间:2014-05-07 08:57:54    阅读次数:388
安全威胁无孔不入:基于Linux系统的病毒(转)
尽管在Linux里传播的病毒不多,但也是存在一些,我从一些安全站点搜集了一些资料。     1、病毒名称:     Linux.Slapper.Worm     类别: 蠕虫     病毒资料: 感染系统:Linux     不受影响系统:Windows 3.x, Windows 95, Windows 98, Windows NT, Windows 2000, Windo...
分类:系统相关   时间:2014-05-07 07:02:02    阅读次数:802
HDU 4003 Find Metal Minaral 树上瞎搞分组背包
对于分组背包,每组选且只选一件商品的写法...
分类:其他好文   时间:2014-05-07 05:55:12    阅读次数:347
【Leetcode】Two Sum
[Question] Given an array of integers, find two numbers such that they add up to a specific target number. The function twoSum should return indices of the two numbers such that they add up to t...
分类:其他好文   时间:2014-05-07 05:37:44    阅读次数:278
emacs中eshell的快捷键配制
eshell是emacs shell的简称,是emacs自带的shell.开始设置的时候还在想是否要找到它的key map (eshell-mode-map?). 原来它是采用hook设置,如下所示 (add-hook 'eshell-mode-hook (lambda () (local-set-key (kbd "C-j") 'switch-to...
分类:其他好文   时间:2014-05-07 05:25:39    阅读次数:253
Shell入门之脚本管理学习笔记
1.shell介于操作系统与用户之间,负责解释命令行   2./etc/shells 记录了系统支持的有效登录的shell   3./etc/passwd 最后一位可以看到用户默认的shell   4.直接输入shell的名称 可以切换shell   5.shell命令的记录可以用history查看 history -c 清除 历史命令存放在.bash_history文件中  ...
分类:其他好文   时间:2014-05-07 05:11:21    阅读次数:244
linux 下安装jdk及配置jdk环境图解
linux 下安装jdk及配置jdk环境 一:先检测是否已安装了JDK 执行命令: # rpm -qa|grep jdk  或   # rpm -q jdk  或  #find / -name jdk* /soft/openfire_java/jdk-7u40-linux-x64.rpm /usr/java/jdk1.7.0_15 /usr/java/jdk1.7.0_...
分类:系统相关   时间:2014-05-07 05:06:00    阅读次数:427
A Simple Problem
For a given positive integer n, please find the smallest positive integer x that we can find an integer y such that y^2 = n +x^2.   Input The first line is an integer T, which is the the...
分类:其他好文   时间:2014-05-06 19:21:10    阅读次数:290
AIX 更改 shell 为 bash
bash是linux上默认的shell,可以使用tab补全,上下键切换历史命令等。   客户的服务器忽然更改成了AIX,telnet上去一看,晕,竟然默认的是ksh,用起来感觉很别扭,还是安装bash吧   安装过程如下:   1、下载bash的rpm安装包   2、传到AIX上后,直接用RPM解开:     # rpm -...
分类:其他好文   时间:2014-05-06 18:59:04    阅读次数:407
【Leetcode】3Sum
【Question】 Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find all unique triplets in the array which gives the sum of zero. Note: Elements in ...
分类:其他好文   时间:2014-05-06 14:57:29    阅读次数:318
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!