When I run aws command help
it pipes the output through the pager. It has it's pros and cons; the biggest con is that once I press Q to exit, everything is gone from the screen (yes, I know, I can crash it by Ctrl-C).
Is there a way to just output it to the screen the way it works in Windows command prompt? With man
I can run it as man -P cat mv
, but I couldn't find anything like that in aws help
There are two simple options.
Add an alias to your .profile or .bash_profile script (depends on which you are using)
alias man='man -P cat'
Change the default pager. (Can be added to you profile as above).
export PAGER=cat