One of the biggest annoyances while using aws cli for me was the fact that the command’s output was not printed to standard stdout but it was opened in
less like session, which was very annoying if you needed to copy several entries from the output result.
The difficulty in removal was exacerbated by the fact that for a long time I couldn’t name this behaviour, thus not getting any good results from google.
Turns out it’s called pager and it’s very easy to get rid off.
Just open your config file in
~/.aws/config and set up
cli_pager to an empty value, like this:
[default] region = eu-west-2 output = json cli_pager =