码迷,mamicode.com
首页 >  
搜索关键字:find grep xargs    ( 34906个结果
ubuntu中查看CPU和内存信息的命令
cat /proc/cpuinfo| grep "phasical id“ | sort | uniq | wc -l //用于查看物理CPU个数。 cat /proc/cpuinfo| grep "processor" | sort | uniq | wc -l //用于查看CPU核数(双线程核数 ...
分类:系统相关   时间:2020-12-08 12:33:47    阅读次数:8
如何使用 Flupy 构建数据处理管道
如何使用Flupy构建数据处理管道摄影:产品经理厨师:kingname经常使用Linux的同学,肯定对|这个符号不陌生,这个符号是Linux的管道符号,可以把左边的数据传递给右边。例如我有一个spider.log文件,我想查看里面包含"ERROR"关键词,同时时间为2019-11-23的数据,那么我可以这样写命令:catspider.log|grepERROR|grep"201
分类:其他好文   时间:2020-12-08 12:01:17    阅读次数:2
一日一技:如何正确获取 MongoDB 集合里面的最后一条数据
一日一技:如何正确获取MongoDB集合里面的最后一条数据摄影:产品经理厨师:kingname在我们使用Python查询MongoDB的时候,一般会使用MongoDB的集合(collection)对象的find()方法或者find_one()方法:importpymongohandler=pymongo.MongoClient().chapter_7.example_data_4#获得一个游标操作
分类:数据库   时间:2020-12-07 12:47:33    阅读次数:11
iscroll实现h5锁定列和头,并且无限上划分页
js代码 var win = $(window), scrollAreaEl = $('.t_r_content'), leftFreezeEl = $('.t_l_freeze'), leftTableEl = leftFreezeEl.find('table'), rightTableEl = ...
分类:其他好文   时间:2020-12-07 12:42:32    阅读次数:7
centos7下使用mysql安装包安装mysql5.7
1、检查系统是否安装过mysql //检查系统中有无安装过mysql rpm -qa|grep mysql //查询所有mysql 对应的文件夹 whereis mysql find / -name mysql 2、卸载CentOS7系统自带mariadb # 查看系统自带的Mariadb [roo ...
分类:数据库   时间:2020-12-07 12:25:31    阅读次数:9
linux下查找文件中空行的行号
linux下查找文件中空行的行号 linux下查找文件中空行的行号 以aa.txt举例: 方法1:sed -n '/[a-zA-Z0-9@#$%^&*]/!=' aa.txt 方法2:grep -n ^$ aa.txt 方法3:awk '/^$/{print NR}' aa.txt 方法4:sed ...
分类:系统相关   时间:2020-12-07 12:22:19    阅读次数:9
mysql5.7初始化密码报错 ERROR 1820 (HY000): You must reset your password using ALTER USER statement
mysql初始化密码常见报错问题 1,mysql5.6是密码为空直接进入数据库的,但是mysql5.7就需要初始密码 cat /var/log/mysqld.log | grep password 2,然后执行 mysql -uroot -p ,输入上面的到的密码进入,用该密码登录后,必须马上修改新 ...
分类:数据库   时间:2020-12-07 12:09:24    阅读次数:7
g++: error trying to exec 'cc1plus': execvp: No such file or directory
g++ --version gcc --version 没有版本号的话下载 有的话 执行 sudo find / -name "cc1plus" export PATH="/usr/libexec/gcc/x86_64-redhat-linux/4.8.2:$PATH" 加到环境变量 ...
分类:其他好文   时间:2020-12-05 10:53:48    阅读次数:9
解决Jmeter插件ERROR: java.io.IOException: Agent is unr
解决Jmeter插件ERROR:java.io.IOException:AgentisunreachableviaTCP的错误今天在centos上搭建jmeter监控服务,服务正常启动,我点击run,就在一切看起来很美好的时候,报错了,ERROR:java.io.IOException:AgentisunreachableviaTCP报错原因:1、查看端口是否占用:netstat-lnp|grep
分类:编程语言   时间:2020-12-05 10:32:29    阅读次数:7
base64转换
import os, base64,reli=os.listdir(r'C:\Users\lenovo\Desktop\allsvg')os.chdir(r'C:\Users\lenovo\Desktop\allsvg')print(li)for i in li: with open(i,mode= ...
分类:其他好文   时间:2020-12-04 11:38:25    阅读次数:7
34906条   上一页 1 ... 37 38 39 40 41 ... 3491 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!