首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 操作系统 > UNIXLINUX >

Linux - How to create a file and write by script

2013-04-05 
Linux - How to create a file and write by script?cat text.outEOFWrite what you want to write he

Linux - How to create a file and write by script?

cat > text.out<<EOFWrite what you want to write here....EOF


EOF is just a notation of end of the file. Once system executes to that word it knows it is the end of the file. So the file is closed and writing ends.

热点排行
Bad Request.