共计 333 个字符,预计需要花费 1 分钟才能阅读完成。
提醒:本文最后更新于2019-07-17 14:57,文中所关联的信息可能已发生改变,请知悉!
[v_act]格式:touch [OPTION]… FILE…[/v_act]
直接创建指定文件
[root@localhost ~]# ll
total 4
-rw-------. 1 root root 1301 Feb 10 20:30 anaconda-ks.cfg
[root@localhost ~]# touch test.txt
[root@localhost ~]# ll
total 4
-rw-------. 1 root root 1301 Feb 10 20:30 anaconda-ks.cfg
-rw-r--r-- 1 root root 0 Feb 10 20:30 test.txt
[root@localhost ~]#
[v_error]Ubuntu系统请配合sudo使用(sudo touch)[/v_error]
正文完