Shell
Donald Wilde
dwilde1 at gmail.com
Thu Jul 2 17:34:49 UTC 2020
On 7/2/20, Brandon helsley <brandon.helsley at hotmail.com> wrote:
>
>
>
>
>>This was definitely not my impression of the OP's *problem* - in
>
> particular, the first message
>
> https://lists.freebsd.org/pipermail/freebsd-questions/2020-June/290424.html
>
> says "When I am logged in as root it is #, even when I do not execute
>
> a shell. Usually it was root at machine17#. How do I change it back?",
>
> and
>
> https://lists.freebsd.org/pipermail/freebsd-questions/2020-June/290428.html
>
> says "I don't want to change the prompt for the usr, just for the csh
>
> shell for root".
>
>
>
> --Per
>
>
>
>
>
>
> Thank you all for the help. I think I was not specific enough with my
> problem. I now know how to change the prompt to what I want but still have
> to issue the command "pwd" to see what directory I'm in. For example, when I
> cd to the /usr/home/ directory my prompt is still only root at machine17#
> instead of root at machine17#~/usr/home/
>
Hi, Brandon --
Glad you are learning and that you're sticking to it.
Try this. when you log in, log in to your computer as root with the root pw.
cd to somewhere.
Do you NOT see the path before the #? (in a text console window)
If you do, examine the difference between the /root/.cshrc and yours
in /home/me/.cshrc.
--
Don Wilde
****************************************************
* What is the Internet of Things but a system *
* of systems including humans? *
****************************************************
More information about the freebsd-questions
mailing list