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

Programmer Humor

19512 readers
428 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
[–] over_clox@lemmy.world 15 points 1 year ago (2 children)

mkdir is literally a DOS command homie.

[–] elvith@feddit.de 2 points 1 year ago (3 children)

Isn't it md and mkdir is just an alias in Powershell to accommodate Linux users?

[–] vithigar@lemmy.ca 13 points 1 year ago* (last edited 1 year ago)

Every command that isn't fully expanded PowerShell commands is an alias. dir and ls are both aliases for Get-ChildItem.

[–] hemko@lemmy.dbzer0.com 3 points 1 year ago

Yeah posh has lot of aliases by default to make it more "friendly". mkdir is just new-item -type directory or whatever.

Also curl is just alias for invoke-webrequest and works nothing like curl

[–] over_clox@lemmy.world 2 points 1 year ago (1 children)

MD and MKDIR are ancient DOS commands.

[–] hemko@lemmy.dbzer0.com 2 points 1 year ago

I didn't actually know this, thanks for pointing out