egetty

Gert Cuykens gert.cuykens at gmail.com
Sat Apr 9 21:50:39 PDT 2005


On Apr 10, 2005 4:47 AM, bob at a1poweruser.com <bob at a1poweruser.com> wrote:
> Gert
> I see you are using pwd command to display where in directory tree
> you currently pointing
> There is a way to configure FBSD to display the directory path as a
> prefix in front of the command line so you know where you are at in
> the directory tree at all times, thus eliminating the need to use
> the pwd command.
> Issue following command from command line
> 
> set prompt = "# %/ >"        # that's "#space%/space>"
> 
> /root/.cshrc gets executed when you log on as root.  Find and change
> the set prompt command in .cshrc to the one above and you will never
> have to use the  pwd  command again.
> 

No its to long then :)


More information about the freebsd-questions mailing list