ADSM-L

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

2001-01-24 14:55:40
Subject: Re: AIX question: how to display "pwd" at root prompt??
From: Richard Sims <rbs AT BU DOT EDU>
Date: Wed, 24 Jan 2001 14:57:19 -0500
>This is an AIX question:
>
>How does one set-up the root # prompt to display "pwd" (print working
>directory)??

Hey, this is an ADSM forum, not AIX.  ;-)

It depends upon the shell you use.  Tcsh is popular because of its
usability features.  There, I use:
   set prompt = "%U%n@%m:%~%u ";
in my .tcshrc to give me a prompt of the form
  Username@Systemname:Currentdir

       Richard