Issue
i'm quite new with linux and I want to tweak my terminal prompt. The default is user@user - Thinkpad- T420 ~$. That pretty annoying long. I searched google and I tried my best but it didn't show any difference.
What i have done: echo $PS1
\[\e]0;\u@\h \w\a\]${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\] \[\033[01;34m\]\w \$\[\033[00m\]
locate bashrc
/etc/bash.bashrc
/etc/skel/#.bashrc#
/etc/skel/.bashrc
/etc/skel/.bashrc~
/usr/share/base-files/dot.bashrc
/usr/share/doc/adduser/examples/adduser.local.conf.examples/bash.bashrc
/usr/share/doc/adduser/examples/adduser.local.conf.examples/skel/dot.bashrc
sudo -s Atom /directory
I changed in all files PS1="...." to PS1="hallo". Terminal prompt shows no difference.
Linux Kernel Mint 4.8.0-53-generic
greetings ! B
Solution
I fixed it by editing the .bashrc file in my /home/myusername directory. Don't edit the files here /src/skel
Answered By - Bahamas Answer Checked By - Senaida (WPSolving Volunteer)