【问题标题】:CD in Azure PowerShell FailureAzure PowerShell 中的 CD 失败
【发布时间】:2019-01-25 16:20:17
【问题描述】:

在 powershell cd 中有效,但在我的 Azure Cloud Shell 中无效。我错过了什么?

复制的会话显示我试图进入 quickstart 目录(在 powershell shell 中创建)

Welcome to Azure Cloud Shell

Type "az" to use Azure CLI 2.0
Type "help" to learn about Cloud Shell

MOTD: Switch to Bash from PowerShell: bash

VERBOSE: Authenticating to Azure ...
VERBOSE: Building your Azure drive …

Azure:/
PS Azure:\> ls -F
clouddrive@  quickstart/  test/

Azure:/
PS Azure:\> cd quickstart
cd : Cannot find path 'Azure:/quickstart' because it does not exist.
At line:1 char:1
+ cd quickstart
+ ~~~~~~~~~~~~~
+ CategoryInfo          : ObjectNotFound: (Azure:/quickstart:String) 
                                           [Set-Location], ItemNotFoundException
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.SetLocationCommand

【问题讨论】:

    标签: azure cd azure-cloud-shell


    【解决方案1】:

    您可以使用“cd $HOME/quickstart”来实现它。

    为了说明,请查看下面的截图。

    希望这会有所帮助!!干杯!! :)

    【讨论】:

    • 奇怪的是,文档中没有提到它Create a static HTML web app in Azure
    • 是的!感谢您提供文档链接。我们已按要求更新了文件。理想情况下需要一些时间来反映这些变化。
    • 更改反映在文档中。
    猜你喜欢
    • 2022-01-22
    • 1970-01-01
    • 1970-01-01
    • 2018-01-21
    • 2020-01-30
    • 1970-01-01
    • 2022-10-25
    • 2012-08-22
    • 2021-11-13
    相关资源
    最近更新 更多