码迷,mamicode.com
首页 >  
搜索关键字:awk sed    ( 13063个结果
git仓库的安装和基本使用
一、安装git软件 # yum install git -y 二、初始化git仓库 2.1 在git仓库的机器进行配置 # ifconfig eth0 | awk -F '[ :]+' 'NR==2 {print $3}' 192.168.5.71# useradd git # 创建用户 # pas ...
分类:其他好文   时间:2019-11-14 18:08:45    阅读次数:64
现代JS中的流程控制:详解Callbacks 、Promises 、Async/Await
JavaScript经常声称是_异步_。那是什么意思?它如何影响发展?近年来这种方法有何变化? 请思考以下代码: result1 = doSomething1(); result2 = doSomething2(result1); 大多数语言都处理每一行同步。第一行运行并返回结果。第二行在第一行完成 ...
分类:Web程序   时间:2019-11-14 09:17:16    阅读次数:80
根据进程id pid 查容器id
To get container ID you can use: Then to convert the container ID to docker container name: 以下是例子 ...
分类:系统相关   时间:2019-11-13 16:11:51    阅读次数:149
13 Zabbix4.4.0系统告警“More than 75% used in the configuration cache”
点击返回:自学Zabbix之路 点击返回:自学Zabbix4.0之路 点击返回:自学zabbix集锦 13 Zabbix4.4.0系统告警“More than 75% used in the configuration cache” More than 75% used in the configu ...
分类:系统相关   时间:2019-11-13 11:07:06    阅读次数:107
Centos7升级内核后无法启动解决办法:mpt[23]sas驱动问题
参考链接:https://www.cnblogs.com/muahao/p/7610413.htmlCentOS 7.6 从内核 3.10.0 升级到 5.3.6后,重启不了,原因是 Linux 内核 4.4.x 版本之后,dracut 命令生成的 initramfs 默认不会自动加载 mpt3sa ...
分类:其他好文   时间:2019-11-13 00:51:05    阅读次数:497
shell 5-6合集
sell5回顾正则表达式基本正则^$[abc][^].*\{n,m\}\{n\}\{n,\}\(\)扩展正则+?{n,m}a|b|c()\bsed非交互式编辑文本前置命令|sed选项(定址符)指令sed选项(定址符)指令被处理的文档选项:-n-r-i指令:pds==============================a行下添加i行上添加c替换整行找到使用bash的用户,按照用户名-->密
分类:系统相关   时间:2019-11-13 00:24:35    阅读次数:119
mysql数据库备份脚本
mysql数据库备份脚本
分类:数据库   时间:2019-11-12 20:19:46    阅读次数:93
CentOS 7 安装 python3
步骤详情 1、CentOS安装Python的依赖包 yum groupinstall "Development tools" yum install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-de ...
分类:编程语言   时间:2019-11-12 01:08:00    阅读次数:116
Educational Codeforces Round 48 (Rated for Div. 2)异或思维
题:https://codeforces.com/contest/1016/problem/D 题意:有一个 n * m 的矩阵, 现在给你 n 个数, 第 i 个数 a[ i ] 代表 i 这一行所有数的抑或和。 再给你 m 个数, 第 i 个数 b[ i ] 代表 i 这一列 所有数的抑或和。 ...
分类:其他好文   时间:2019-11-12 00:48:33    阅读次数:70
Amber
训练做的题里有板子单独拉出来。 欧拉筛 1 int vis[N+5],prim[N+5]; 2 int cnt; 3 void Eular() 4 { 5 vis[0]=vis[1]=1; 6 for(int i=0;i<N;i++) 7 if(!vis[i]) 8 { 9 prim[cnt++]= ...
分类:其他好文   时间:2019-11-11 21:51:08    阅读次数:105
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!