码迷,mamicode.com
首页 >  
搜索关键字:find grep xargs    ( 34906个结果
Linux find 查找 并删除文件 杀掉进程
find 默认在当前 即 . 目录下查找 du 文件名 / 目录 # 查看文件占用内存大小 1. 按照文件名查找 find / -name qwe # qwe为文件名 find / -name *qwe* # * 为模糊匹配 2. 按照文件类型查找 find / -type d # 查找目录文件 f ...
分类:系统相关   时间:2020-07-17 09:38:41    阅读次数:133
杀死进程的脚本k.sh
#!/bin/sh if [ $# -eq 0 ]; then NAME="frps" else NAME=$1 fi echo $NAME ID=`ps -ef | grep "$NAME" | grep -v "$0" | grep -v "grep" | awk '{print $2}'` e ...
分类:系统相关   时间:2020-07-17 09:26:27    阅读次数:81
HDU 2612 Find a way
Pass a year learning in Hangzhou, yifenfei arrival hometown Ningbo at finally. Leave Ningbo one year, yifenfei have many people to meet. Especially a ...
分类:其他好文   时间:2020-07-17 01:14:23    阅读次数:90
[CF1070A] Find a Number - BFS,记忆化搜索
给定两个数 $d \le 500$ 和 $s \le 5000$,求最小的 $n$ 使得 $d|n$ 并且 $n$ 的各位数字之和为 $s$。 ...
分类:其他好文   时间:2020-07-16 21:11:17    阅读次数:57
java发布环境时,Xshell常用的命令(基础)
利用Xshell连接到项目的环境地址后: 当需要查看运行的jar包时: netstat -lnp|grep 8080 #8080为你查看jar包的端口号 ps -ef|grep java #查看所有jar包运行 ps aux|grep xxx.jar #xxx.jar为你要查询的jar包名 运行ja ...
分类:编程语言   时间:2020-07-16 21:05:41    阅读次数:81
【刷题-LeetCode】209. Minimum Size Subarray Sum
Minimum Size Subarray Sum Given an array of n positive integers and a positive integer s, find the minimal length of a contiguous subarray of which th ...
分类:其他好文   时间:2020-07-16 18:17:25    阅读次数:57
错误:gyp ERR! find Python
详细错误: 1 gyp ERR! find Python 2 gyp ERR! find Python Python is not set from command line or npm configuration 3 gyp ERR! find Python Python is not set ...
分类:编程语言   时间:2020-07-16 12:28:08    阅读次数:312
Linux 按时间批量删除文件命令(删除N天前文件)
需要根据时间删除这个目录下的文件,/home/lifeccp/dicom/studies,清理掉20天之前的无效数据。 可以使用下面一条命令去完成: 1 find /home/lifeccp/dicom/studies -mtime +21 -name "*.*" -exec rm -Rf {} \ ...
分类:系统相关   时间:2020-07-16 12:20:52    阅读次数:125
0436. Find Right Interval (M)
Find Right Interval (M) 题目 Given a set of intervals, for each of the interval i, check if there exists an interval j whose start point is bigger than ...
分类:其他好文   时间:2020-07-16 12:10:10    阅读次数:63
477. Total Hamming Distance
The Hamming distance between two integers is the number of positions at which the corresponding bits are different. Now your job is to find the total ...
分类:其他好文   时间:2020-07-16 12:06:09    阅读次数:75
34906条   上一页 1 ... 75 76 77 78 79 ... 3491 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!