format
cat <<EOT > file_path
....
EOT
example)
cat <<EOT > /etc/sysconfig/network-scripts/ifcfg-bond0
DEVICE=bond0
TYPE=Bond
BONDING_MASTER=yes
BOOTPROTO=none
ONBOOT=yes
BONDING_OPTS="miimon=1 updelay=0 downdelay=0 mode=4"
NAME=bond0
EOT
format
cat <<EOT > file_path
....
EOT
example)
cat <<EOT > /etc/sysconfig/network-scripts/ifcfg-bond0
DEVICE=bond0
TYPE=Bond
BONDING_MASTER=yes
BOOTPROTO=none
ONBOOT=yes
BONDING_OPTS="miimon=1 updelay=0 downdelay=0 mode=4"
NAME=bond0
EOT