Jane
Jane

Reputation: 399

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.

Upvotes: 20

Views: 19766

Answers (4)

Eduard j
Eduard j

Reputation: 1

Adding "&" at the end suspends output/exits

aws ecr create-repository --repository-name backend &

Upvotes: -1

Aryan Nava
Aryan Nava

Reputation: 61

Type Q, It will automatically exit

enter image description here

Upvotes: 5

Moe Fawal
Moe Fawal

Reputation: 21

Press q to exit.

You can find more detailed information here: http://man7.org/linux/man-pages/man1/more.1.html

Upvotes: 2

John Rotenstein
John Rotenstein

Reputation: 270134

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.

Upvotes: 45

Related Questions