this post was submitted on 26 Aug 2023
1491 points (97.5% liked)

Programmer Humor

19623 readers
166 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] brb@sh.itjust.works -3 points 1 year ago (2 children)

I can't remember doing anything and "ls" works for me

[–] TurnItOff_OnAgain@lemmy.world 7 points 1 year ago (3 children)

Probably using Powershell, or you added it. Ls definitely doesn't work in windows 10 or 11 in cmd.

[–] mateomaui@reddthat.com 1 points 1 year ago (1 children)
[–] TurnItOff_OnAgain@lemmy.world 2 points 1 year ago* (last edited 1 year ago) (2 children)

Bone stock windows 11. Like I have everyone else has said, you have done something to add it to cmd. It isn't, and has never been in cmd.

EDIT:

Try this. in CMD type in

where LS

[–] brb@sh.itjust.works 4 points 1 year ago
E:\>where ls
f:\Git\usr\bin\ls.exe

Mystery solved

[–] mateomaui@reddthat.com 1 points 1 year ago

Ok, getting past the dickish, completely unhelpful first part of your reply (as you can see in the comments, not EVERYONE was saying that), the second part helped me trace it back to this:

https://github.com/devkitPro/installer/releases

which is a toolset that I never intentionally installed, and was evidently added by an emulator package without me knowing where it was or what it did.

So thank you for (eventually) helping me find what it was, and now you and others know how to add it to cmd and don't have to complain about its absence.

[–] brb@sh.itjust.works 1 points 1 year ago (1 children)

No it works in cmd. I didn't add it intentionally atleast. Never even tried to use it till now.

[–] TurnItOff_OnAgain@lemmy.world 2 points 1 year ago* (last edited 1 year ago)

Bone stock windows 11. It isn't, and has never been in cmd.

[–] newIdentity@sh.itjust.works 2 points 1 year ago

It works on Powershell but not with CMD.

That's a problem when using NeoVim on windows