alphacyberranger to Programmer [email protected]English • 2 years agoHallelujahimagemessage-square132arrow-up11.55Karrow-down139
arrow-up11.51Karrow-down1imageHallelujahalphacyberranger to Programmer [email protected]English • 2 years agomessage-square132
minus-square@[email protected]linkfedilink2•2 years agoIsn’t it md and mkdir is just an alias in Powershell to accommodate Linux users?
minus-square@[email protected]linkfedilink13•edit-22 years 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•2 years 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•2 years 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