find
在Linux中如何正确使用修剪? -type d和-type f对修剪有不同的影响?
我用的时候 find . -type f -path ./source/script -prune -o -print; 我在“pruned”./ source / script目录中获取文件.[详细]
2020-06-07 08:38 分类:Linux-
AndroidStudio构建项目提示错误信息“unable to find valid certification”的完美解决方案
手抖了一下,把AS升级到了最新版本,然后就悲剧了,公司的项目跑不起来,提示“unable to find valid certification”,新建项目也是一样的提示。之前总结的解决方案都用了,没一个好使的,经过两个下午的折腾,终于[详细]
2020-06-05 14:11 分类:编程语言 在Linux中如何对find的输出执行“for each”?
我想找到所有mpx文件是1920×1080. 如果我做 find . -type f -name \\*.mp4 -exec ffprobe \'{}\' \\; 2>&1[详细]
2020-06-05 13:27 分类:LinuxLinux运维常用命令总结
1.删除0字节文件 find -type f -size 0 -exec rm -rf {} \\; 2.查看进程 按内存从大到小排列[详细]
2020-06-03 10:33 分类:Linux如何定时查询某线程的CPU执行时间
1 #!/bin/bash 2 3 pid=$(ps -T -p $(pgrep xxx) | grep xxx | gawk -F\" \" ‘{print $2}‘)[详细]
2020-06-01 16:03 分类:LinuxLinux常用指令-更新中
文件查找 find 简单的find # 查找当前目录下的某个文件 find -name \"target.java\" 带有正则表达式的find[详细]
2020-06-01 12:25 分类:LinuxLinux定时删除日志脚本
一、思路 定时删除日志,其实分为两个过程: 查找符合条件的日志并删除 定时 过程1需要写一个查找脚本,过程2需要用到linux的crontab[详细]
2020-06-01 11:26 分类:Linux-
OSCP Learning Notes - Enumeration(1)
Installing Kioptrix: Level 1 Download the vm machine form https://www.vulnhub.com/entry/kioptrix-level-1-1,22/.[详细]
2020-06-01 10:50 分类:Linux [Algorithm] Find The Vowels
// --- Directions // Write a function that returns the number of vowels // used in a string. Vowels are the characters ‘a‘, ‘e‘[详细]
2020-06-01 09:59 分类:Linux