Calculate 4 times 5 (4 5 *), subtract 17 (17 -), and [p]rint the output

dc

  • An arbitrary precision calculator. Uses reverse polish notation (RPN).
    See also: `bc`.
    More information: <https://www.gnu.org/software/bc/manual/dc-1.05/html_mono/dc.html>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

dc --expression='4 5 * 17 - p'

click the source code to copy install dc on any operating system with command-not-found.com