This is what I use:
PS1=$(uname -a):${LOGNAME}':${PWD#$HOME/}:!> '
export PS1
This looks like the following:
node_name:root:/tmp:300
The 300 on the end is the number in .sh_history that the next command will
get.
Hope this helps
--
Phillip Ford
Senior Software Specialist
Corporate Computer Center
Schering-Plough Corp.
(901) 320-4462
(901) 320-4856 FAX
[EMAIL PROTECTED]
-----Original Message-----
From: Ken Sedlacek [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 24, 2001 1:51 PM
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)