Ubuntu: Show Dynamic Title in Terminal

A quick solution to this problem is to make sure that /etc/bash.bashrc file has a line uncommented.

vim /etc/bash.bashrc

Then, look for this line and make sure it is NOT commented out:

PROMPT_COMMAND='echo -ne "\033]0;{USER}@${HOSTNAME}: ${PWD}\007"'

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>