alphacyberranger@lemmy.world to Programmer Humor@programming.devEnglish · 11 months agoHallelujahlemmy.worldimagemessage-square134fedilinkarrow-up11.53Karrow-down139
arrow-up11.49Karrow-down1imageHallelujahlemmy.worldalphacyberranger@lemmy.world to Programmer Humor@programming.devEnglish · 11 months agomessage-square134fedilink
minus-squareelvith@feddit.delinkfedilinkarrow-up2·11 months agoIsn’t it md and mkdir is just an alias in Powershell to accommodate Linux users?
minus-squarevithigar@lemmy.calinkfedilinkarrow-up13·edit-211 months agoEvery command that isn’t fully expanded PowerShell commands is an alias. dir and ls are both aliases for Get-ChildItem.
minus-squarehemko@lemmy.dbzer0.comlinkfedilinkEnglisharrow-up3·11 months agoYeah 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
minus-squareover_clox@lemmy.worldlinkfedilinkarrow-up2·11 months agoMD and MKDIR are ancient DOS commands.
minus-squarehemko@lemmy.dbzer0.comlinkfedilinkEnglisharrow-up2·11 months agoI didn’t actually know this, thanks for pointing out
Isn’t it
md
andmkdir
is just an alias in Powershell to accommodate Linux users?Every command that isn’t fully expanded PowerShell commands is an alias.
dir
andls
are both aliases forGet-ChildItem
.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
MD and MKDIR are ancient DOS commands.
I didn’t actually know this, thanks for pointing out