find/var/log/-typef-mtime+10查找该文件夹下超过10天的文件find/var/log/-typef-mtime+10-execcp{}{}.lak\;exec的用法-exec..........\;find/var/log/-typefmtime+10|xargs-icp{}{}.lxargs中类似于exec的功能,将多出一个类似于...l的文件ls|xargs
分类:
其他好文 时间:
2016-07-25 00:21:57
阅读次数:
232
文件和目录操作命令(17个)1lsls命令的作用是以不同的方式,查看(列出)目录内的内容。【功能说明】:listdirectorycontents【语法格式】:ls[OPTION]...[FILE]...1.1选项参数-a※--all#<==以点开头的文件也显示出来,即显示隐藏的文件
-d※--directory#<==只列出目录
..
分类:
系统相关 时间:
2016-07-24 21:08:34
阅读次数:
270
文本处理工具linux文本处理三剑客grp:文本过滤工具(模式:pattern)sed:文本编辑器--流编辑器awk:linux上的实习为gawk,文本报告生成器(格式化文本)三个工具都会用到正则表达式RegualExpression由一类特殊字符及文本字符所编写的模式,其中有些字符不表示字面意义,而是..
分类:
其他好文 时间:
2016-07-24 21:08:26
阅读次数:
263
Description FJ is surveying his herd to find the most average cow. He wants to know how much milk this 'median' cow gives: half of the cows give as mu ...
分类:
其他好文 时间:
2016-07-24 20:53:52
阅读次数:
209
Given an integer array nums, find the sum of the elements between indices i and j (i ≤ j), inclusive. Example: Note: Subscribe to see which companies ...
分类:
其他好文 时间:
2016-07-24 20:49:58
阅读次数:
229
Description There is a cycle with its center on the origin. Now give you a point on the cycle, you are to find out the other two points on it, to maxi ...
分类:
其他好文 时间:
2016-07-24 20:46:36
阅读次数:
117
53. Maximum Subarray 53. Maximum Subarray Total Accepted: 123212 Total Submissions: 331027 Difficulty: Medium Find the contiguous subarray within an a ...
分类:
其他好文 时间:
2016-07-24 14:52:54
阅读次数:
147
2014-04-30 15:27:44 标签:gitlab 原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。否则将追究法律责任。http://davidbj.blog.51cto.com/4159484/1405062 gitlab一款开源的代码版本控制软件,仿g ...
分类:
其他好文 时间:
2016-07-24 13:32:21
阅读次数:
130
Given a set of distinct positive integers, find the largest subset such that every pair (Si, Sj) of elements in this subset satisfies: Si % Sj = 0 or ...
分类:
其他好文 时间:
2016-07-24 13:30:42
阅读次数:
116
You are given two integer arrays nums1 and nums2 sorted in ascending order and an integer k. 给你两个数组nums1和nums2,这两个数组都是递增排列的,还给你一个整数k。 Define a pair (u ...
分类:
其他好文 时间:
2016-07-24 09:19:17
阅读次数:
233