#! /bin/bash cat>test1<<EOF 這是一個由shell建立的文件 this is a file created by shell. we want to make a good world. EOF
其中,<<EOF 表示當遇到EOF時結束輸入。shell
cat>test1<<EOF 這間沒有空格bash