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

Programmer Humor

20778 readers
1616 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 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] TurnItOff_OnAgain@lemmy.world 7 points 2 years 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 2 years ago (1 children)
[–] TurnItOff_OnAgain@lemmy.world 2 points 2 years ago* (last edited 2 years 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 2 years ago
E:\>where ls
f:\Git\usr\bin\ls.exe

Mystery solved

[–] mateomaui@reddthat.com 1 points 2 years 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 2 years 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 2 years ago* (last edited 2 years ago)

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