$ curl cheat.sh/
# hardinfo
# Show hardware information in GUI window.
# More information: <https://github.com/lpereira/hardinfo>.

# Start hardinfo:
hardinfo

# Print report to standard output:
hardinfo -r

# Save report to HTML file:
hardinfo -r -f html > hardinfo.html

$
Follow @igor_chubin cheat.sh tldr