I tried to write a script that can display the prompt as Linux does for
Here is my script (It works on ksh of UnixWare 7)
if [ $UID -eq 0 ]; then
but It will not display properly after running the command 'priv' to become
I wonder if I can do a script that can display the prompt as Linux prompt on
almost Unix system in Bourne Shell or Korn Shell without to install Bash.
Thanks in advance for any advise.