alphacyberranger to Programmer [email protected]English • 1 year agoHallelujahlemmy.worldmessage-square134fedilinkarrow-up11.54K
arrow-up11.5KimageHallelujahlemmy.worldalphacyberranger to Programmer [email protected]English • 1 year agomessage-square134fedilink
minus-square@[email protected]linkfedilink2•1 year agoIsn’t it md and mkdir is just an alias in Powershell to accommodate Linux users?
minus-square@[email protected]linkfedilink13•edit-21 year agoEvery command that isn’t fully expanded PowerShell commands is an alias. dir and ls are both aliases for Get-ChildItem.
minus-square@[email protected]linkfedilinkEnglish3•1 year 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-square@[email protected]linkfedilinkEnglish2•1 year agoI didn’t actually know this, thanks for pointing out
mkdir is literally a DOS command homie.
It was a Unix command first
Fair enough 👍
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