如何从命令行创建空文件

Modified on: Sat, 09 Jun 2018 01:15:53 +0800

如何从命令行创建空文件?

最佳答案

使用touch命令:

The touch utility sets the modification and access times of files to the
current time of day. If the file doesn't exist, it is created with
default permissions.

示例:

touch newfile
作者:Isaiah

相关问答

添加新评论