linux - Not getting proper prompt when using SHH -
i logged account on bluehost using ssh , got unusual prompt.
i expected show directory , typical prompt instead got bash
.
what you're seeing default bash prompt. when distro doesn't provide better 1 in /etc/profile
or similar. can on platform ignoring environment , config files:
env -i bash --norc
to user@host:dir$
prompt debian , derived distros use, can add
export ps1='\u@\h:\w\$ '
to .bash_profile
Comments
Post a Comment