日常运维工作中,需要给几十上百台服务器批量部署软件或者是重启服务器等操作,
这样大量重复性的工作一定很苦恼,本文给大家提供了最基本的批量操作的方法,虽然效率不高,对于初学者来说还是好理解。由于刚开始学习写脚本,什么
puppt这样的高级工具还不会使用,就简单的利用shell脚本、ssh-keygen...
分类:
其他好文 时间:
2014-07-22 23:11:53
阅读次数:
404
Given a string, find the length of the longest
substring without repeating characters. For example, the longest substring
without repeating letters fo...
分类:
其他好文 时间:
2014-07-22 23:11:32
阅读次数:
388
1、单链表循环体用while(p->next!=NULL)而不用while(p!=NULL)的原因 node *Find_MidNode(node
*head){ if(head->next==NULL||head->next->next==NULL) return
head->next; node...
分类:
其他好文 时间:
2014-07-22 23:11:15
阅读次数:
374
前言:我们为什么要学会使用find命令?转自:http://blog.chinaunix.net/uid-24648486-id-2998767.html每一种操作系统都有成千上万的文件组成,对于linux这样“一切皆文件”的操作系统来说更不例外,大家应该都能很轻松使用windows下的文件查找功能...
分类:
系统相关 时间:
2014-07-22 23:10:56
阅读次数:
608
原地址:http://www.cnblogs.com/svage/p/3700122.html1、删除目录及子目录下的 .svn目录 find . -type
d -name ".svn" | xargs rm -rf2、/tmp 目录的权限drwxrwxrwt rwt的意思是:对目录有执行权...
分类:
系统相关 时间:
2014-07-22 23:09:34
阅读次数:
552
本图整理了一些bash编程常用的语法、特殊变量,遗忘之时可快速查找,不用再去翻书了。
分类:
其他好文 时间:
2014-07-22 23:09:15
阅读次数:
287
查看当前目录下的文件:find.-typef查看当前目录下的文件夹:find.-typed如果文件file1不为空:if[-sfile1];thenecho"file1不为空"fi#!/bin/shforfin`find./testdir-typef`;doif[-s$f];thenecho$fis...
分类:
系统相关 时间:
2014-07-22 23:09:14
阅读次数:
407
Single NumberGiven an array of integers, every
element appearstwiceexcept for one. Find that single one.Note:Your algorithm
should have a linear runti...
分类:
其他好文 时间:
2014-07-22 23:07:14
阅读次数:
337
Given a binary tree, find its maximum depth.The
maximum depth is the number of nodes along the longest path from the root node
down to the farthest le...
分类:
其他好文 时间:
2014-07-22 23:07:13
阅读次数:
379
1)高光乳胶漆,一般耐久性较好、漆膜致密,使用于对漆膜坚硬及耐久性有一定要求的地方(如人流密集处,不希望有乱涂乱抹现象处),但高光涂料反射性较强,会暴露基层不平整的缺陷。2)半光乳胶漆,光泽度比高光乳胶漆要小,一般而言,也具备较好的耐沾污性和耐擦洗性。3)丝光乳胶涂料,这一等级的光泽还包括Satin...
分类:
其他好文 时间:
2014-05-01 15:32:50
阅读次数:
934