In the .profile of root, insert an entry

export PS1=$(hostname -s):' $PWD>'

I am assuming you are having KSH

> -----Original Message-----
> From: Ken Sedlacek [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, January 25, 2001 1:21 AM
> To:   [EMAIL PROTECTED]
> Subject:      AIX question: how to display "pwd" at root prompt??
>
> This is an AIX question:
>
> How does one set-up the root # prompt to display "pwd" (print working
> directory)??
>
> Someone out there must know this.
>
> Using AIX 4.3.3
>
>
>
> Ken
>
>
> Ken Sedlacek
> Kyrus Corporation
> Office: 864-322-4260; Cell: 864-444-8375
> Text Page: 864-444-7243, follow prompts
> [EMAIL PROTECTED]
>
> Kyrus IT Support  (Internal: 4399)   (Greenville: 864-322-4399)
> (Toll-Free: 888-413-4399)

Reply via email to