this post was submitted on 01 Dec 2025
1196 points (99.0% liked)
Programmer Humor
27599 readers
2953 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
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Windows has
rmdir?Uh... kinda? Powershell has many POSIX aliases to cmdlets (equivalent to shell built-ins) of allegedly the same functionality.
rmdirandrmare both aliases ofRemove-Item,lsisGet-ChildItem,cdisSet-Location,catisGet-Content, and so on.Of particular note is
curl. Windows supplies the real CURL executable (System32/curl.exe), but in a Powershell 5 session, which is still the default on Windows 11 25H2, thecurlalias shadows it.curlis an alias of theInvoke-WebRequestcmdlet, which is functionally a headless front-end for Internet Explorer unless the-UseBasicParsingswitch is specified. But since IE is dead, if-UseBasicParsingis not specified, the cmdlet will always throw an error. Fucking genius, Microsoft.Jesus, They really just need to start over.
Yeah as an admin I love that I can run familiar Linuxy commands in powershell but I also hate that they can't just use/fork the real userland utilities so everything works just similarly enough to completely throw you off when you stumble across a difference