For shell commands, the prompt is usually shown. The $ sign introduces a command that is being run by a non-root user:
$ ls
The # sign introduces a command that is being run as root:
# ls
$ ls
The # sign introduces a command that is being run as root:
# ls