Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot exit AWS CLI help pages

After installing awscli. I tried the help command as mentioned in the documentation,

$ aws help

When I do this, I can see the following page full screen. and can not seem to get out of it.

I tried Ctrl+C and it does not go back to my Ubuntu command line.

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.
like image 206
Jane Avatar asked Nov 20 '16 00:11

Jane


People also ask

How do I exit AWS help?

Press q to exit.

How do I exit AWS shell?

edit command retrieves your shell history in an editor, allowing you to both view your command history, and create a shell script from the aws-shell commands. The last dot commands are . exit and . quit, which have the same effect as pressing the F10 key, that of ending your aws-shell session.

Why my AWS CLI is not working?

If the aws command cannot be found after first installing or updating the AWS CLI, you might need to restart your terminal for it to recognize any PATH updates. If the aws command cannot be found after first installing or updating the AWS CLI, it might not have been fully installed.


1 Answers

The manual pages use the more command.

Some useful commands:

  • q: quit
  • space: next page
  • arrows: scroll up/down -- your mouse will work, too
  • /: search
  • h: help

Reference: Everything You Need To Know About The More Command

So, just hit q.

like image 113
John Rotenstein Avatar answered Sep 20 '22 15:09

John Rotenstein