I'm a beginner at learning to use the Raspberry Pi, and I was wondering what the difference between pi@raspberry:~# and pi@raspberry:~$ are? I'm using PuTTy.


# for refers to root and $ refers to a regular user.

You can use either, but if you are running lots of commands that require root access logging in using pi@raspberry:~# is probably more useful than using pi@raspberry:~$, just because it saves adding sudo to the start of commands that require root access.

  • Thanks mate Just as a follow up, would that involve me logging in as "root" rather than "pi" when using Putty? – J_Sun Jun 19 '17 at 14:52
  • I think logging in as pi will work, if it doesn't I guess you would have to log in as root. – Darth Vader Jun 19 '17 at 16:03
  • 2
    It is safer to login as the Pi user and switch to the root user (sudo su). This will allow you to disable root logins via SSH. – Steve Robillard Jun 19 '17 at 16:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.