码迷,mamicode.com
首页 > 系统相关 > 详细

linux cmd

时间:2015-07-07 14:21:36      阅读:142      评论:0      收藏:0      [点我收藏+]

标签:

Linux查找包含特定字符串的文件名的方法

Pasted from <http://www.jbxue.com/LINUXjishu/9790.html>

 

find .|xargs grep -i "xxxx" 

 

find . -maxdepth 2|xargs grep "xxxx"

 

find . -maxdepth 2 -name "*.txt" |xargs grep "xxxx"

 

ls

 

显示子目录结构

ls -R

 

附:ls按时间排序

ls -lt 从新到旧

ls -lrt 从旧到新

 

linux cmd

标签:

原文地址:http://www.cnblogs.com/mylinux/p/4626661.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!