Linux tip - How to create a file and write by script?
2013-04-02 18:21
447 查看
cat > text.out<<EOF Write 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.
相关文章推荐
- How to write a script in Linux
- How to create aligned partitions in Linux for use with NetApp LUNs, VMDKs, VHDs and other virtual di
- How to mount partition with ntfs file system and read write access
- how to write order by and limit query in jpa [duplicate]
- This tip shows how to extract the width and height from a bitmap source file on disk.
- [monitoring] how to create script to monitoring the status of orders and make graphs
- How to build a COM to Send and Receive Multi File by ATL
- How to create and delete a SharePoint site by web application
- HOW TO CONFIGURE LINUX DNS SERVER STEP BY STEP GUIDE EXAMPLE AND IMPLEMENTATION
- How to create and extract zip, tar, tar.gz and tar.bz2 files in Linux
- How to mount partition with ntfs file system and read write access
- How To create Netbeans Platform and add to netbeans IDE by netbean platform manager
- How to add, modify, or delete registry subkeys and values by using a registration entries (.reg) file
- How to Create a Secure Login Script in PHP and mySQL
- How to Mount and Unmount Filesystem / Partition in Linux (Mount/Umount Command Examples)
- How to Output a List of Files to a File and Sort Them in Linux
- How to use script to get all oracle EBS Form name and corresponding fmb file name
- How to Create a Secure Login Script in PHP and MySQL
- How can I force Python's file.write() to use the same newline format in Windows as in Linux (“\r\n”
- How To Open Physical Standby For Read Write Testing and Flashback