tree -L 1 -d ln -s ext msn 创建软连接 ls -lF| sed -n‘/^d/p’ ls -lF|awk ‘/^d’ ls -lrt 按时间倒着排 vi /etc/profile 加 alias grep=’grep --color=auto’ . /etc/profile ...
分类:
其他好文 时间:
2016-07-11 14:06:28
阅读次数:
136
一切皆文件,这句linux的最高哲学思想,注定了对文件的学习是linux学习中的重点之一;我们每天和各类文件打交道,但文件系统错综复杂,文件名品类繁多,你是否经常遇到忘记某个文件的路径或文件名?我想这是一个无法回避的问题,所以有一个快速准确高效的文件查找工具对我们来..
分类:
其他好文 时间:
2016-07-11 01:22:12
阅读次数:
178
find【查找范围】【条件表达式】条件表达式:-name-size-type-user-type中常用类型:f:普通文件、d:目录、b:块设备文件、c:字符设备文件块设备文件:硬盘、内存字符设备文件:键盘、鼠标2.atime、mtime、ctimeatime:读取文件或者执行的时候更改的mtime:在写入文件跟着内..
分类:
其他好文 时间:
2016-07-11 01:17:34
阅读次数:
214
前言:文件查找:在文件系统上查找符合条件的文件;这与grep是完全不同的,grep是文本处理工具。find与locate是针对于文件的而不是文件中的文本内容。文件查找常用工具:locate,find区别:非实时查找(数据库查找):locate实时查找:findlocate:locate的工作机制:依赖于事先构..
分类:
系统相关 时间:
2016-07-11 01:14:20
阅读次数:
293
前言:文件查找: 在文件系统上查找符合条件的文件;这与grep是完全不同的,grep是文本处理工具。find与locate是针对于文件的而不是文件中的文本内容。文件查找常用工具:locate,find区别:非实时查找(数据库查找):locate 实时查找:findlocate:locate的工作机制:依赖于事先..
分类:
系统相关 时间:
2016-07-11 01:13:47
阅读次数:
254
前言:文件查找:在文件系统上查找符合条件的文件;这与grep是完全不同的,grep是文本处理工具。find与locate是针对于文件的而不是文件中的文本内容。文件查找常用工具:locate,find区别:非实时查找(数据库查找):locate实时查找:findlocate:locate的工作机制:依赖于事先构..
分类:
系统相关 时间:
2016-07-11 01:12:42
阅读次数:
230
373. Find K Pairs with Smallest Sums 373. Find K Pairs with Smallest Sums Total Accepted: 1453 Total Submissions: 5789 Difficulty: Medium You are give ...
分类:
其他好文 时间:
2016-07-10 21:17:09
阅读次数:
236
一天一道LeetCode
本系列文章已全部上传至我的github,地址:ZeeCoder‘s Github
欢迎大家关注我的新浪微博,我的新浪微博
欢迎转载,转载请注明出处
(一)题目
Write a program to find the node at which the intersection of two singly linked lists begins.
F...
分类:
其他好文 时间:
2016-07-10 18:56:16
阅读次数:
136
题目链接:https://leetcode.com/problems/palindrome-pairs/
题目:
Given a list of unique words. Find all pairs of distinct indices (i,
j) in the given list, so that the concatenation of the two words, ...
分类:
其他好文 时间:
2016-07-10 18:48:22
阅读次数:
186