在Azure云外壳编辑器中创建新文件 [英] create new file in azure cloud shell editor

查看:47
本文介绍了在Azure云外壳编辑器中创建新文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当打开cloudshell编辑器时,已经为我们创建了一个文件,我们可以保存它.保存后,如何创建新文件?如果我们关闭编辑器并再次打开它,则将看到相同的已保存文件.

When open cloudshell editor a file is already created for us and we can save it. Once we save it , how can we create a new file? If we close the editor and open it again, then the same saved file is visible.

重新启动云外壳或打开新会话会有所帮助,但这是实现此目标的唯一方法吗?

Restarting cloud shell or opening a new session helps but is that the only way to achieve this ?

推荐答案

如果要在Azure云外壳编辑器中创建新文件,则可以运行 code< filename> 来打开编辑器,而无需文件浏览器并创建一个新文件.如果要删除文件,可以在BASH中运行 rm -r< filename> .

If you want to create new file in Azure cloud shell editor, you can run code <filename> to open the editor without the file explorer and create a new file. If you want to remove the file, you can run rm -r <filename> in the BASH.

请参见使用Azure Cloud Shell编辑器了解更多信息.如果我误解了您的问题,请告诉我.

See Using the Azure Cloud Shell editor for more details. Let me know if I misunderstand your question.

这篇关于在Azure云外壳编辑器中创建新文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆