码迷,mamicode.com
首页 >  
搜索关键字:grep sed awk    ( 22162个结果
Linux 实用指令之查看端口开启情况
Linux 实用指令之查看端口开启情况 netstat -ntlp 查看端口使用情况! netstat -ntlp | grep 80 查看具体的端口是否使用! # netstat -ntlp Active Internet connections (only servers) Proto Recv ...
分类:系统相关   时间:2021-01-07 12:28:02    阅读次数:0
shell_对文件的操作
sed命令 语法: sed [options] '{command}[flags]' [filename] {}是必须有,[]可选 options: -r 使用扩展的正则表达式 -n 只打印缓存中的内容,不打印文本内容 -e 执行多个命令 -f 执行文件中的命令 -i 修改原文件 -i.xxxx 修 ...
分类:系统相关   时间:2021-01-07 12:17:11    阅读次数:0
ansible 批量安装yum包
1、首先安装一下ansible yum install ansible 2、修改一下ansible的参数以防ssh过去的时候需要首次判断yes 或者no sed -i 's/#host_key_checking = False/host_key_checking = False/g' /etc/an ...
分类:其他好文   时间:2021-01-07 12:10:47    阅读次数:0
k8s-etcd
安装部署主控节点服务 -- etcd 部署master节点服务 部署etcd集群 集群规划 HDss7-12.host.com ectc lead 192.168.154.12 HDss7-21.host.com ectc follow 192.168.154.21 HDss7-22.host.co ...
分类:其他好文   时间:2021-01-07 11:46:58    阅读次数:0
ansible until: '"running" in etcd_status.stdout'
- name: 以轮询的方式等待服务同步完成 shell: "systemctl status etcd.service|grep Active" register: etcd_status until: '"running" in etcd_status.stdout' retries: 8 de ...
分类:其他好文   时间:2021-01-07 11:40:27    阅读次数:0
Python for Data Science - Data Visualization
Python for Data Science - Data Visualization Three Different Data Visualization Types Data storytelling - for presentations to organizational decision ...
分类:编程语言   时间:2021-01-06 12:18:03    阅读次数:0
centos7 启动引导顺序
查看默认启动项 grub2-editenv list 查看启动项列表 awk -F\' '$1=="menuentry " {print $2}' /etc/grub2.cfg 设置默认引导 grub2-set-default 'Windows 10' 设置默认启动项 grub2-set-defau ...
分类:其他好文   时间:2021-01-06 11:52:49    阅读次数:0
5,linux 命令 awk2
1 $0 匹配到AA ,就是输出行匹配到AA 的行 2 3 4 5 awk -F ‘ ’ awk ‘ ’ 6 7 8, NR 与FNR的区别: 9 10 11 12 BEGIN和END 都是特殊的pattern 13 14 15 16 17 18 19 20 ...
分类:系统相关   时间:2021-01-05 11:32:23    阅读次数:0
大容量磁盘利用脚本自动分区
#!/bin/bash #判断磁盘是否已经进行了分区 if (( $(fdisk -l /dev/sdb|grep "^/dev/sdb"|wc -l) > 0 )) then echo "这块磁盘已经分区,退出,请管理员检查" exit #退出脚本,后面的命令不再执行 else echo "开始进 ...
分类:其他好文   时间:2021-01-05 11:14:07    阅读次数:0
Homework 5: Semantic Analyzer
Homework 5: Semantic Analyzer --ExperiencePurposeExperience with coding a semantic analyzer for the Pym language. The computation is based on aparse t ...
分类:其他好文   时间:2021-01-05 11:13:51    阅读次数:0
22162条   上一页 1 ... 26 27 28 29 30 ... 2217 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!