ADSM-L

Re: AIX question: how to display "pwd" at root prompt??

2001-01-24 21:48:08
Subject: Re: AIX question: how to display "pwd" at root prompt??
From: "Ganu Sachin, IBM" <Sachin.Ganu AT KWA2.SIEMENS.CO DOT IN>
Date: Thu, 25 Jan 2001 08:19:54 +0530
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:Ken_Sedlacek AT KYRUS DOT COM]
> Sent: Thursday, January 25, 2001 1:21 AM
> To:   ADSM-L AT VM.MARIST DOT EDU
> 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
> ksedlacek AT kyrus DOT com
>
> Kyrus IT Support  (Internal: 4399)   (Greenville: 864-322-4399)
> (Toll-Free: 888-413-4399)