I differentiate between "Type these commands to do the task" (which should be copy/paste-able), and "Here is what my answer produces on MY system (YMMV)", where the `$` and `#` are used to show context.

A recent example is my answer to [this question][1]


  [1]: https://askubuntu.com/questions/719017/tcp-udp-list-in-command-line/719032