Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-16-2016, 12:32 PM   #1
Registered: Jul 2015
Posts: 84

Rep: Reputation: Disabled
Color ls not working for normal users

Hello. I am running AV Linux (2016 version), which is based on Debian. For some reason, ls listings do not come up in color, unless I specifically run alias ls='ls --color' each time I log in. I have put this alias in both the .bashrc and .profile files, but it still does not work. It works just fine for root, but not for any other user. The /etc/passwd file shows that the usernames have /bin/bash as their default shell.

Any ideas?

Thanks in advance.
Old 04-16-2016, 12:40 PM   #2
Registered: Aug 2013
Location: Sweden
Distribution: Debian, Arch, Red Hat, CentOS
Posts: 773
Blog Entries: 3

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
Originally Posted by SUSESailor View Post
alias ls='ls --color' each time I log in.
Hi there!

Hmm... the correct alias for .bashrc looks like this:
alias ls='ls --color=auto'
alias ls='ls --color'
But perhaps that was a typo?

Best regards,


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How can disable su for normal users? hansemmanuel Linux - Newbie 1 03-30-2010 11:17 PM
Problems with normal users SabaumLinux Linux - Software 5 02-15-2005 01:18 AM
Normal users can't su to root? Why not? jon_k Linux - Software 12 07-09-2004 04:09 PM
Permission for normal users Vizy Linux - General 1 03-16-2004 11:39 AM
snes9express and normal users murray_linux Slackware 12 12-20-2003 03:56 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:41 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration