業務用エアコン関連の技術情報、エラーコード、環境問題対策に関する別サイト「エアコンの安全な修理・適切なフロン回収」

Create an empty file (zero bytes)

Create an empty file (zero bytes)

To create an empty file, use the touch command, which changes the type stamp of a file, but creates a zero-byte file if the argument is a non-existent file.

[nuy@Lion samp]$ ls -l
合計 0
↑There are no files in the directory
[nuy@Lion samp]$ touch empty_test
↑Create an empty file with the touch command
[nuy@Lion samp]$ ls -l
合計 0
-rw-r--r-- 1 nuy nuy 0 Sep 20 06:00 empty_test
↑The empty_test file created is 0 bytes
Copied title and URL