I have a problem with my terminal in Ubuntu server 20.04.
I would like to color the syntax in my terminal, but after I restart the server, it's back to the normal uncolored syntax. I edited .bashrc and uncommented this line:
force_color_promp=yes
I then and restarted .bashrc with the command source .bashrc, but as I wrote earlier, after restart it returns to the previous non colored syntax.
I don't use ssh to connect to the server. I'm working on it through the console, and I don't have a .bash_login file. I am trying to find a different configuration file.
echo $0say-bashor justbash?) Do you have a~/.bash_loginfile? Please [edit] your question to include these details. – steeldriver Aug 05 '22 at 13:06sudohere at all. – mook765 Aug 05 '22 at 16:20Force_color_prompt=yesand saving it, there is a coloured prompt for me after reboot. I'm not sure about 20.04 LTS, but something seems to be different. You can check your~.profileand/etc/profile. Maybe there is a problem with the ownership of your~/.bashrcbecause you used sudo with it. Please check that, as hinted by mook765. – sudodus Aug 05 '22 at 16:24sudo! – terdon Aug 07 '22 at 13:40