LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 04-16-2016, 01:32 PM   #1
SUSESailor
Member
 
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, 01:40 PM   #2
HMW
Member
 
Registered: Aug 2013
Location: Sweden
Distribution: Debian, Arch, Red Hat, CentOS
Posts: 773
Blog Entries: 3

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
Quote:
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:
Code:
alias ls='ls --color=auto'
Not,
Code:
alias ls='ls --color'
But perhaps that was a typo?

Best regards,
HMW
 
  


Reply


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-31-2010 12:17 AM
Problems with normal users SabaumLinux Linux - Software 5 02-15-2005 02:18 AM
Normal users can't su to root? Why not? jon_k Linux - Software 12 07-09-2004 05:09 PM
Permission for normal users Vizy Linux - General 1 03-16-2004 12:39 PM
snes9express and normal users murray_linux Slackware 12 12-20-2003 04:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:50 PM.

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