Skip to content

Instantly share code, notes, and snippets.

@xiaoysh8
Created April 22, 2021 03:09
Show Gist options
  • Save xiaoysh8/38bcba93856a588eab894cdd42afa7c8 to your computer and use it in GitHub Desktop.
Save xiaoysh8/38bcba93856a588eab894cdd42afa7c8 to your computer and use it in GitHub Desktop.
linux 常用命令
linux 常用命令
查找根目录 / 最近10分钟内被改动或增加的文件:
find / -cmin -10 
这条命令一般会查找出很多不相干的文件,所以需要忽略一些文件路径的检索,比如忽略  /sys/路径下的文件检索,命令如下:
find / -cmin -10 -! -path "/sys/*" 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment