Shell-输出多行

Shell-输出多行

并发执行

1
2
3
4
5
6
7
8
9
10
cat << EOF > test.sh
#!/bin/bash
#you Shell script writes here.
EOF

cat <<EOF | sudo tee /etc/sysctl.d/99-kubernetes-cri.conf
net.bridge.bridge-nf-call-iptables = 1
net.ipv4.ip_forward = 1
net.bridge.bridge-nf-call-ip6tables = 1
EOF