As of 14.0, with /bin/sh as default login shell, it's "$" for the root and normal user, not "#".
I have mixed this up somehow. Login shell /bin/sh >14.0 root user "#" , normal user "$".
If the login shell is /bin/csh, default for root user on FreeBSD <14.0, then it's "#" for root and "%" for normal users . See /usr/share/skel dot.* files. All of those dot files are copied in every users home directory by adduser(8) and pw(8)useradd.
/usr/share/skel/dot.cshrc
Rich (BB code):
if ($?prompt) then
set prompt = "%N@%m:%~ %# "
set promptchars = "%#"
/usr/share/skel/dot.shrc
Rich (BB code):
# set prompt: ``username@hostname:directory $ ''
PS1="\u@\h:\w \\$ "
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.