【问题标题】:Cannot exit AWS CLI help pages无法退出 AWS CLI 帮助页面
【发布时间】:2022-01-30 04:38:29
【问题描述】:

安装awscli后。我尝试了文档中提到的帮助命令,

$ aws help

当我这样做时,我可以全屏看到以下页面。并且似乎无法摆脱它。

我尝试了Ctrl+C,但它没有返回到我的 Ubuntu 命令行。

AWS()                                                                    AWS()



NAME
       aws -

DESCRIPTION
       The  AWS  Command  Line  Interface is a unified tool to manage your AWS
       services.

SYNOPSIS
          aws [options] <command> <subcommand> [parameters]

       Use aws command help for information on a  specific  command.  Use  aws
       help  topics  to view a list of available help topics. The synopsis for
       each command shows its parameters and their usage. Optional  parameters
       are shown in square brackets.

【问题讨论】:

  • 那是手册页。按h 查看可用的键盘快捷键/命令。 q退出

标签: amazon-web-services amazon-s3 aws-cli


【解决方案1】:

手册页使用more 命令。

一些有用的命令:

  • q:退出
  • 空格:下一页
  • 箭头:向上/向下滚动 - 您的鼠标也可以使用
  • /:搜索
  • h:帮助

参考:Everything You Need To Know About The More Command

所以,只需点击 q

【讨论】:

    【解决方案2】:

    输入Q,会自动退出

    【讨论】:

    • 请在图片链接中输入上面的图片描述。
    【解决方案3】:

    按 q 退出。

    您可以在此处找到更多详细信息: http://man7.org/linux/man-pages/man1/more.1.html

    【讨论】:

      【解决方案4】:

      在末尾添加“&”会暂停输出/退出

      aws ecr create-repository --repository-name 后端&

      【讨论】:

      猜你喜欢
      • 2021-03-17
      • 1970-01-01
      • 1970-01-01
      • 2014-01-28
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多