linux的<<命令

谷歌解释

The >> appends to a file or creates the file if it doesn't exist. The > overwrites the file if it exists or creates it if it doesn't exist.
反过来也是一样的

例子

tee /etc/docker/daemon.json <<-'EOF'
{
      XXX: XXX
}
EOF
原文地址:https://www.cnblogs.com/lyzz1314/p/13660445.html