Re: execute script and setting PS1



On Mar 19, 2:16 am, "Chris F.A. Johnson" <cfajohn...@xxxxxxxxx> wrote:
On 2008-03-17, Bill Marcum wrote:

On 2008-03-16, happytoday <ehabaziz2...@xxxxxxxxx> wrote:
...
#  echo $SHELL
/sbin/sh

I would recommend that you switch to another shell, but the "#" prompt
indicates that you may be logged in as root, and changing root's shell
is a bad idea.

     Using the root account for anything other than things which need
     it is a bad idea.

--
   Chris F.A. Johnson, author       <http://cfaj.freeshell.org/shell/>
   Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
   ===== My code in this post, if any, assumes the POSIX locale
   ===== and is released under the GNU General Public Licence

I always login as a root ? What changes required to my /etc/profile to
show directories name I switch between them ?

Thanks
.



Relevant Pages