1-4 mkdir和touch命令

2016.5.31


touch

创建空文件,用于测试

touch test

[root@test2 home]# touch test

当目标文件已存在时,将更新该文件的时间而已

[root@test2 home]# touch test
[root@test2 home]# ls -lh | grep test
-rw-r--r--  1 root  root     0 Jun 27 09:57 test
[root@test2 home]#

synopsis

synopsis (n.) 1610s, "a general view, an outline," from Late Latin synopsis "a synopsis," from
Greek synopsis "a general view," literally "a seeing altogether, a seeing all at once," from syn-    
"together"   (see syn-) + opsis "sight, appearance," from PIE *okw- "to see" (see eye (n.)).    

synopsis  [syn·op·sis || sɪ'nɑpsɪs /-'nɒp-]
n.  概要, 大意, 摘要


man touch



mkdir(make directory)

作用:创建目录

格式:mkdir [选项] 目录位置及名称...

-p :一次性创建嵌套的多层目录

man mkdir



results matching ""

    No results matching ""