AWK SED 简单使用
shell tee awk.txt <<-'EOF' john wang male 30 02103213 ludc dasf fama 12 12311321 EOF awk '{print $1,$4}' awk.txt
shell tee awk.txt <<-'EOF' john wang male 30 02103213 ludc dasf fama 12 12311321 EOF awk '{print $1,$4}' awk.txt
| 主机 | IP | 系统 | | ------ | ------------- | ---- | | master | 192.168.3.162 | Centos 8 kernel 4.18.0-240.el8.x8664 |
[reference article from here][docker compose redis cluster] > remember to replace the ip 192.168.3.163 to your real ip address
https://zhuanlan.zhihu.com/p/24461370776 shell cat <<-EOF > /etc/docker/daemon.json { "registry-mirrors": [
shell systemctl disable firewalld --now setenforce 0 sed -i -r 's/SELINUX=[ep]./SELINUX=disabled/g' /etc/selinux/config
shell systemctl status docker.service systemctl status kubelet.service netstat -antp| grep 6443 netstat -pnlt | grep 6443
Common shell commands, grep patterns, crontab, and Linux utilities
shell script docker pull xxx docker search xxx docker images docker images -q docker rmi containerId/SOURCEIMAGE[:TAG]