When using AWS CLI and running the help command to look up parameters, you might encounter this error:
$ aws cloudfront help
Could not find executable named "groff or mandoc"Cause of the Error
This happens when the system can’t find the manual tools “groff” or “mandoc”, which are required to display help pages in Linux.
Solution
Install mandoc using the following command:
sudo apt install -y mandocAlternatively, you can install groff with this:
sudo apt install -y groffConclusion
By installing one of these packages, the AWS CLI help command will function properly. This simple fix allows you to access CLI help features without further issues.


コメント