此链接 通往 Linux 命令大全手册,点一下不会吃亏不会上当!说不定还会涨知识:
Linux OS 命令手册大全!
Linux 文件、目录、文本处理 命令!
touch —— 创建文件:
root@zhengzelin:~\# type touch
touch is /usr/bin/touch
touch 是一个外部命令!
touch 命令 有两个作用:
①、创建新的空文件;
②、更改已经存在文件的时间签为当前系统时间
1、创建新文件:
root@zhengzelin:~\# touch a.txt
root@zhengzelin:~\# ll | grep a.txt
-rw-r--r-- 1 root root 0 Apr 8 21