#linux is so good that installing an updated #python and #pip package breaks the 'ls' command

truly a wonder as to why people don't use this as a daily driver.

i can do literally nothing on this box now. i have to wipe it and start over. brilliant.
@malcolm "installed an updated package" == frankendistro?
@malcolm Try `/usr/bin/ls` and see if that works. If so, try `type ls` to see what the `ls` command might be aliased to.

@malcolm

eh ... what?!

What kind of a maniac came up with the idea that binutils should be replaced by python scripts?

What distro is that?

@raccoon @malcolm From the error, it looks like the "that command wasn't found, did you mean this" detector thing ubuntu has. I bet `ls` is aliased to some python dispatcher util.
@malcolm Maybe it’s been suggested but give pyenv a try.

@malcolm

What's the output of

/usr/bin/which ls

If its anything other than "/bin/ls", then you $PATH environment variable is messed up. You can print that one with

echo $PATH

You might also want to check if the ls command is aliased:

alias ls

It should be:

alias ls='ls --color=auto'

@raccoon pretty sure i hosed the $PATH based on misreading a random "how to" i found. i've already wiped the machine lol