macOS 中 shell 创建文件夹及文件并 VS Code 打开

前端之家收集整理的这篇文章主要介绍了macOS 中 shell 创建文件夹及文件并 VS Code 打开前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

macOS 中 shell 创建文件夹及文件并 VS Code 打开

macOS


  • 在终端中输入:
<!--创建文件夹-->
$ mdkir interview 
<!--创建文件-->
$ touch interview/layout.html
<!--使用atom打开文件-->
$ open -a atom interview/layout.html
  • 在 VS Code 命令面板中输入
Shell Command: Install ‘code’ command in PATH
  • 在终端中输入:
$ code-insiders interview/layout.html

License

  • 可以拷贝、转发,但是必须提供原作者信息,同时也不能将本项目用于商业用途。
原文链接:https://www.f2er.com/bash/388599.html

猜你在找的Bash相关文章