mkdir 

whoami

touch:“摸”,如果文件不存在,就建立新文件,如果存在,就改变文件的访问时间atime等时间戳信息。

 

 

mkdir、whoami、touch

mkdir aa

ls –ld aa

 

 

mkdir、whoami、touch

创建多级目录

mkdir –p a/b/c

tree a

 

mkdir、whoami、touch

ls

mkdir  {1..10}

 

 

mkdir、whoami、touch

echo {1..10}

 

 

 

mkdir、whoami、touch

whoami

 

 

mkdir、whoami、touch

a目录存在的前提下,

touch a/1.txt

ls

cat a

touch a/1.txt

tree a

 

 mkdir、whoami、touch

ls

touch {a,b,c}.txt

ls

 

mkdir、whoami、touch

ls

touch 3.txt

ls

echo > 4.txt

ls

 

相关文章:

  • 2021-12-30
  • 2021-08-12
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-22
  • 2022-12-23
  • 2021-08-22
猜你喜欢
  • 2021-05-22
  • 2021-07-22
  • 2021-12-12
  • 2022-01-22
  • 2022-12-23
  • 2021-10-04
  • 2022-12-23
相关资源
相似解决方案