The Solaris group is a forum where peers share technical expertise, solve problems, and discuss issues related to the Solaris operating system, including OS-related malfunctions, security issues, and network performance.

Solaris system is not showing the current directory path.

Normally when we login to any Solaris system as a root ,it should show the machine name and the present dir. eg.
root@server1:/>
root@server1:/>cd etc
root@server1:/etc>
but for one system I am not getting the servername & current dir path .Always it shows only hash prompt ..
and every time I need to type pwd if I want to know the current path.
Can anybody help me to resolve this issue.
#

Popular White Paper On This Topic

Take a look in user home directory for file .profile and in check for line
with string PS1, copy line(s) in .profile on this machine and you will have
similar prompt. Check if shells for root user are the same on all machines

Copyright 1998-2015 Ziff Davis, LLC (Toolbox.com). All rights reserved. All product names are trademarks of their respective companies. Toolbox.com is not
affiliated with or endorsed by any company listed at this site.