How can I create and open a file from terminal with a single command?

后端 未结 8 1293
野性不改
野性不改 2020-12-24 06:56

To create a file from terminal I type the following...

$ touch filename.py

To open the file I just created from terminal, I then type...

8条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-24 07:21

    To create a file from terminal I type the following... $ touch filename.py but not able to create the file

    To open the file I just created from terminal, I then type... $ open filename.py but not able to open the file

提交回复
热议问题