Linux命令-文件处理命令:touch

touch chengshi.list  在当前目录中创建chengshi.list文件

Linux命令-文件处理命令:touch

touch /root/chengshi.list  在root目录下面创建chengshi.list文件

Linux命令-文件处理命令:touch

touch "program files"  创建一个含有空格的文件名,如:program files,需要加上双引号。

Linux命令-文件处理命令:touch

特别注意:在linux系统中不建议使用空格来命名目录名称和文件名称,是因为空格表示linux命令,选项,参数之间的分隔符。如果使用需要加双引号括起来。

 

相关文章:

  • 2021-12-01
  • 2021-08-22
  • 2021-04-30
  • 2021-12-05
  • 2021-10-11
  • 2021-10-29
  • 2021-08-22
猜你喜欢
  • 2022-12-23
  • 2021-07-17
  • 2021-06-05
  • 2021-10-22
  • 2022-01-18
  • 2021-08-28
  • 2021-12-22
相关资源
相似解决方案