Refer to a comment here I wanted to ask to the poster the question where to copy the .bashrc file to. Because copying it to the home of the user does not enable the auto color ls command.
Please, can someone also tell me how to raise comments on a post if you do not have 50 reputation points yet?
alias
? What version of Ubuntu are you using? When did the colours disappear? Is this your local system or are you accessing via SSH? – Zanna Mar 31 '18 at 11:06alias
to do with this? I donot have a high skill on Linux. Could you please be a little specific what I have to do. – user30994 Mar 31 '18 at 15:38ls
colours appear by default because of an alias in your.bashrc
which is only read by interactive shells. I don't really know about SSH, less about AWS, but the shell you are using is not reading.bashrc
for some reason. I don't know how to make that happen (that's why I'm not answering your question) but as a workaround you can set the alias yourself or just runls
with the optionls --color=auto
– Zanna Mar 31 '18 at 16:05.bashrc
on the remote system – Zanna Apr 01 '18 at 08:28.bashrc
... did youcp
the/etc/skel/.bashrc
file to that user's home directory? – Zanna Apr 01 '18 at 19:30