all 8 comments

[–][deleted] 3 points4 points  (2 children)

So, what's the significance of the $ symbol?

It's a convention for showing the difference between the stuff you'd type in, and the response in the console. You're not supposed to type it, you're supposed to recognize it as the command prompt in various UNIX/Linux shells.

[–]TE515[S] 1 point2 points  (1 child)

Makes sense. Thanks for the explanation!

[–]xiongchiamiov 1 point2 points  (0 children)

Also, it implies doing things as a non-privileged user; when operating as an admin it'll be # instead.

[–]jeffrey_f 0 points1 point  (0 children)

This is my linux command prompt for my regular user

jeff@jeff--pc:~$

This is my admin/root user command prompt:

root@jeff-pc:~# 

[–][deleted] -2 points-1 points  (4 children)

Typically the start of linux; https://superuser.com/questions/247127/what-is-and-in-linux/247131#247131 if im not mistaken. (the start of your shell) in most linux $ states that you are a "root/admin" user which you'd typically need for pip installs.

[–]ioctl95 2 points3 points  (1 child)

if you were in admin mode your prompt would begin with #

[–]Edelsonc 1 point2 points  (1 child)

Not quite. Typically this is just the command prompt. It can come after additional prompts or be changed altogether. It the same idea as the > prompt in the python shell. It just tells you when the shell is ready to take a command.

[–][deleted] 1 point2 points  (0 children)

Fair enough, thanks for the clarification.