Any way to show full hostname in bash instead of partial?
Now for domain.com
it's:
user@domain:~$
Would like it to be:
user@domain.com:~$
Debian 8.5
debianhostname
Any way to show full hostname in bash instead of partial?
Now for domain.com
it's:
user@domain:~$
Would like it to be:
user@domain.com:~$
Debian 8.5
Best Answer
The bash prompt is configured by the
PS1
variable. You can configure it simply by setting the variable for example like this:If you want to make the configuration permanent you can put the
export
command in your~/.bashrc
file.I recommend reading the ArchWiki Page for more information.