Enable Ls Colors in RaspberryPi - DebianWheezy

If you are finding it difficult to recognize files and folders in RaspberryPi DebianWheezy dist OS, you can enable Ls COLORS to make them more recognizable. All you need to do is edit /.bashrc and logout and login back to enable it.

Login to RaspberryPi via SSH and then edit /.bashrc to enable ls --color persistently.

Edit /root/.bash (OR) ~/.bashrc (both are the same)

# vi ~/.bashrc (or) # vi /root/.bashrc

edit bashrc 

Logout and Login back to see the change.

BEFORE

bashrc screen 1

AFTER

bashrc screen 3

Thats it all done. If you encounter any errors during the process, let us know via Contact Us and will try our best to help.

Most Read Articles

Add/Detect a new disk in ...

Written By Farooq Mohammed Ahmed on Sunday, 11 January 2015 19:22
Add/Detect a new disk in ...

Replace SSL Certificates ...

Written By Farooq Mohammed Ahmed on Friday, 16 December 2016 08:05
Replace SSL Certificates ...

Using awk in Alias Comman...

Written By Farooq Mohammed Ahmed on Friday, 19 February 2016 14:22
Using awk in Alias Comman...

Script to Monitor Nagios ...

Written By Farooq Mohammed Ahmed on Monday, 18 July 2016 22:48
Script to Monitor Nagios ...

Generate/Create a SHA2/SH...

Written By Farooq Mohammed Ahmed on Tuesday, 25 October 2016 13:56
Generate/Create a SHA2/SH...