码迷,mamicode.com
首页 >  
搜索关键字:find grep    ( 34568个结果
leetcode 1283. Find the Smallest Divisor Given a Threshold
Given an array of integers nums and an integer threshold, we will choose a positive integer divisor and divide all the array by it and sum the result ...
分类:其他好文   时间:2020-11-13 13:21:44    阅读次数:33
非交互式批量传递公钥
#!/binbash rpm -qa |grep expect > /dev/null #判断是否已下载expect 若没有则下载该服务 a=`echo $?` [ ! $a -eq 0 ] && yum -y install expectif [ ! -e /root/.ssh/id_rsa.pu ...
分类:其他好文   时间:2020-11-13 12:52:19    阅读次数:9
【转】 springboot整合redis-sentinel支持Cache注解
【转】 springboot整合redis-sentinel支持Cache注解 一、前提 已经存在一个redis-sentinel集群,两个哨兵分别如下: /home/redis-sentinel-cluster/sentinel-1.conf port 26379 dir "/data" sent ...
分类:编程语言   时间:2020-11-12 14:17:04    阅读次数:12
原创-mongodb增删改查
查找admin集合下前10条数据: db.admin.find().limit(10); 插入数据 > post={table: "activityzones", ... fields: [ ... { ... name: "_id", ... type: "ObjectId", ... hidde ...
分类:数据库   时间:2020-11-12 13:54:07    阅读次数:13
Ubuntu网卡驱动相关知识点
驱动安装这里以安装万兆网卡X520驱动为例,具体步骤详见Ubuntu18.04中万兆网卡X520DA2驱动安装。查看网卡信息单纯查看网卡ip信息:ifconfigifconfig-aipaddipadd|grepnet查看网卡生产厂家和型号信息:#查看基本信息:lspci#查看详细信息:lspci-vvv#3个小写的v#查看网卡信息:lspci|grep-ieth查看系统驱动相关命令lspci-v
分类:系统相关   时间:2020-11-12 13:39:45    阅读次数:11
Python30-12_Linux----常用命令-文件搜索
常用命令-文件搜索 1. 文本搜索grep Linux系统中grep命令是一种强大的文本搜索工具, grep允许文本文件进行模式查找, 如果找到匹配模式, grep打印包含模式的所有行 grep一般格式为: grep [-选项] '搜索字符串' 文件名 在grep命令中输入字符串参数时, 最好引号或 ...
分类:编程语言   时间:2020-11-11 16:09:10    阅读次数:8
剑指Offer(Java)-1-二维数组中的查找
public static boolean Find(int target, int [][] array) { if(array==null||array[0].length==0){ return false;//数组非空判断 } if (array[0][0]> target) { retur ...
分类:编程语言   时间:2020-11-10 11:01:49    阅读次数:10
find 查找文件或目录 及du命令
#格式 find /data -type f find /data -type f -name "name" [root@oldboyedu ~]# find ./ -type f # 查找当前目录 并且显示隐藏文件 默认显示目录及目录以下所有符合的文件 ##按照名称查找 [root@oldboye ...
分类:其他好文   时间:2020-11-10 10:49:49    阅读次数:6
MongoDB 更新文档
MongoDB 使用 update() 和 save() 方法来更新集合中的文档。接下来让我们详细来看下两个函数的应用及其区别。 update() 方法 update() 方法用于更新已存在的文档。语法格式如下: db.collection.update( <query>, <update>, { ...
分类:数据库   时间:2020-11-10 10:35:54    阅读次数:9
Win10使用命令行强制关闭软件
查找软件: # 列出软件 tasklist # 查找 tasklist|findstr "string want to find" 关闭软件: taskkill /f /t /im "name of software" ...
分类:Windows程序   时间:2020-11-10 10:35:25    阅读次数:38
34568条   上一页 1 ... 42 43 44 45 46 ... 3457 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!