Terminal prompt

Vincente Aggrippino ghodmode at ghodmode.com
Mon Apr 30 17:30:17 UTC 2007


On 5/1/07, Tom Vawter <tvawter at austincc.edu> wrote:
>
> I need help with my terminal prompt.
>
> After having attempted to mount my macosx partition, my terminal prompt
> changed to "tvawter at tvawter-pb4:~$".  The  "@tvawter-pb4" was added.  I
> would like to get rid of this.  I have looked in /etc/profile, ~/.bash
> and /etc/bash.bashrc, but I am unclear on what to change.  I am also
> unclear on why my prompt changed at all.


Look for something that sets the variable named PS1 and, possibly,
PROMPT_COMMAND.  The definition and use of these variables can be found in
the man page for your shell (probably bash).  If you find the variable, you
might not even need to look at the man page.  It might be obvious what is
generating the "@tvawter-pb4" part.

This is probably, "@\h".  that's what it is on mine.  It doesn't seem likely
that this happened as a result of mounting a drive, though.

-- Vince

Thanks
> Tom Vawter
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20070501/0048f3c3/attachment.html>


More information about the ubuntu-users mailing list