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

Programmer Humor

19154 readers
2012 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
[–] [email protected] 15 points 1 year ago (2 children)

mkdir is literally a DOS command homie.

[–] [email protected] 2 points 1 year ago (3 children)

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

[–] [email protected] 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.

[–] [email protected] 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

[–] [email protected] 2 points 1 year ago (1 children)

MD and MKDIR are ancient DOS commands.

[–] [email protected] 2 points 1 year ago

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