Delete zero byte file in unix12/27/2022 ![]() ![]() Because writes are cached in memory and only flushed to disk at a later time ( page cache), a program that does not flush its writes to disk or terminate normally may result in a zero-byte file. ![]() Zero-byte files may arise in cases where a program creates a file but aborts or is interrupted prematurely while writing to it. On Unix-like systems, the shell command $ touch filename results in a zero-byte file filename. There are many ways that could manually create a zero-byte file, for example, saving empty content in a text editor, using utilities provided by operating systems, or programming to create it. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |