LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ls: unrecognized/unknown option «--color [»
#8
(11-06-2017, 10:00 PM)JohnD link Wrote: [quote author=Moltke link=topic=4786.msg36345#msg36345 date=1510005318]
I simply had to run
Code:
unalias ls
and that did the trick.

You might have the problem, that the wrong alias definition is again there, if you restart your system, because it might be defined in a file, which will be read at system start or if you open a shell.
[/quote]

Yes, you're right. I did
Code:
grep --files-with-matches -e "alias ls=" ~/.bashrc ~/.bash_aliases ~/*profile /etc/*profile 2>/dev/null
and in .bashrc there are two aliases which I didn't create; one for du command and the one for ls command, deleting those will solve it for good? 
Without each others help there ain't no hope for us Smile
Need a translation service? https://www.deepl.com/es/translator
Reply


Messages In This Thread
Re: ls: unrecognized/unknown option «--color [» - by Moltke - 11-06-2017, 10:11 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)