this post was submitted on 26 Aug 2023
37 points (100.0% liked)

Programmer Humor

19488 readers
1078 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
[–] captsneeze@lemmy.one 1 points 1 year ago (1 children)

As of Aug 26, 2023, Windows command prompt absolutely does not recognize “ls” as a command.

Powershell is a different story.

Source: I type “ls” 40 times a day into a command prompt on my up-to-date win10 PC at work.

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

I literally just typed it into cmd.exe on Windows 10, fully updated, and it absolutely did work. No idea why it doesn’t work for you.

edit: ???

edit: it's been traced back to this:

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

which is an emulator toolset that I didn't know existed on my system until today.

[–] captsneeze@lemmy.one 0 points 1 year ago* (last edited 1 year ago) (1 children)

That is interesting. I just remoted into 5 different machines at the office and none of them worked with ‘ls’. If you enter ‘ls /?’, does it give you a synopsis and argument list?

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

Mystery solved, ls works for me due to this:

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

which is a toolset that was installed by an emulator package somewhere along the line, I just didn't know it was there.