Using the <tt> tag:
$ cd /path/to/directory
For typed commands, prefer <kbd> or <code> today.
<kbd>
<code>
Lines: 0 | Characters: 0