aws cli commands hang on output

0

When I run a simple command like "aws help topics" the command hangs or terminates prematurely. On Windows, it outputs about 30 lines and terminates. On Debian Linux under Windows, it presents a black screen. If I then enter ctrl-z, it shows a few lines of output (like Windows) and terminates.

Here's the version info: aws-cli/2.4.7 Python/3.8.8 Windows/10 exe/AMD64 prompt/off aws-cli/2.4.10 Python/3.8.8 Linux/4.4.0-17763-Microsoft exe/x86_64.debian.11 prompt/off

I suspect that it involves the output paging mechanism. The first time that I ran it on debian, it complained of missing groff, so I installed that. I read about a problem when the less command is missing, but it isn't: the less command works.

질문됨 2년 전1607회 조회
1개 답변
2

Try adding to your profile in ~/.aws/config:

cli_pager =
profile pictureAWS
전문가
kentrad
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인