shell - 在浏览器中使用 google cloud shell 文件下载时的完全限定文件路径是什么

标签 shell google-app-engine google-cloud-platform

我正在尝试使用浏览器 Google Cloud shell。其中有一个菜单选项用于下载文件。它要求用户输入完全限定的文件路径。

我尝试了文件名和路径的多种变体,但它一直失败而没有错误。

如果我有这样的路径,并文件“test.txt”:

root@some-long-unique-value:/etc/letsencrypt/live/www.customappurl.com

我要输入什么?

我已经尝试过:

  • root@some-long-unique-value:/etc/letsencrypt/live/www.customappurl.com/test.txt
  • 一些长唯一值:/etc/letsencrypt/live/www.customappurl.com/test.txt
  • /etc/letsencrypt/live/www.customappurl.com/test.txt
  • 测试.txt

此时,我只是手动复制文本文件。有其他方法可以做到这一点吗?

最佳答案

您的第三个选项/etc/letsencrypt/live/www.customappurl.com/test.txt 应该有效。我刚刚验证了一下。您可以尝试“cat/etc/letsencrypt/live/www.customappurl.com/test.txt”来确保该文件存在吗?

关于shell - 在浏览器中使用 google cloud shell 文件下载时的完全限定文件路径是什么,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43243486/

相关文章:

java - Appengine 自定义身份验证

python - 使用 App Engine 数据存储查询 Django 表单的不同选择列表

python - 是否可以更新 Google 服务帐户的设置?

linux - 仅从字符串 "89dde7.rqsnhq34h.fmu8s1vn0i94hl.tgz.tar.gz"中删除 ".tar.gz"

c - waitpid 调用后如何将自己的 shell 置于前台?

java - 在 linux 服务器上自动运行 "java -jar MyJar.jar",而不是在登录时从 ssh 运行

bash - 如何查看所有(包括隐藏)子目录

html - 找不到处理程序引用的错误静态文件 : dist/api/landing for Angular App deployed on Google Cloud

firebase - 与不使用通配符和 _TABLE_SUFFIX 相比,BigQuery -firebase 导出的工作方式有所不同

google-cloud-platform - 如何使用 Google Compute Python API 通过 GPU 创建自定义机器类型或实例?