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 [»
#5
(11-06-2017, 09:36 PM)Moltke link Wrote:
Quote:Often there are predefined aliases. [...]
By predefined you mean predefine "by user" or "by the system"? I could use ls command before without any issues whatsoever and I haven't created any aliases for it.

In my opinion they are defined by the maintainers of a distribution. But by the way: There is an older thread on this topic in the web: superuser.com/questions/1145543/unable-to-use-ls-command-in-linux

They also suppose, it might be a wrong alias definition.

You might use the followong command to find a file, in which the alias for ls is defined:

Code:
grep --files-with-matches -e "alias ls=" ~/.bashrc ~/.bash_aliases ~/*profile /etc/*profile 2>/dev/null
"Show up on time, know your lines, and don't bump into the furniture."
Reply


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

Forum Jump:


Users browsing this thread: 1 Guest(s)