Currently we have for PS1 prompt user@host:currentdirectory
For Rsh users we would like the default $. I was going to put a check in profile but having an issue with the line
if [ $SHELL -eq "/usr/bin/Rsh" ] below(syntax error) I'm probably looking over the obvious. Any help would be great, Thanks.
if [ $SHELL -eq "/usr/bin/Rsh" ]
then
PS1="$ "
export $PS1
else
PS1='{$LOGNAME@$HOSTNAME:$PWD} '
fi
For Rsh users we would like the default $. I was going to put a check in profile but having an issue with the line
if [ $SHELL -eq "/usr/bin/Rsh" ] below(syntax error) I'm probably looking over the obvious. Any help would be great, Thanks.
if [ $SHELL -eq "/usr/bin/Rsh" ]
then
PS1="$ "
export $PS1
else
PS1='{$LOGNAME@$HOSTNAME:$PWD} '
fi