(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."