One command to create a directory and file inside it linux command

前端 未结 9 1251
無奈伤痛
無奈伤痛 2020-12-24 12:39

Suppose my current directory is A. I want to create a directory B and a file \"myfile.txt\" inside B.

How to do th

9条回答
  •  旧时难觅i
    2020-12-24 13:11

    you can install the script ;

    pip3 install --user advance-touch
    

    After installed, you can use ad command

    ad airport/plane/captain.txt
    
    airport/
    ├── plane/
    │   ├── captain.txt
    

提交回复
热议问题