alphacyberranger to Programmer [email protected]English • 2 years agoHallelujahlemmy.worldimagemessage-square135fedilinkarrow-up11.53K
arrow-up11.53KimageHallelujahlemmy.worldalphacyberranger to Programmer [email protected]English • 2 years agomessage-square135fedilink
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]linkfedilinkEnglish2•2 years agoI didn’t actually know this, thanks for pointing out
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
mkdir is literally a DOS command homie.
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
.MD and MKDIR are ancient DOS commands.
I didn’t actually know this, thanks for pointing out
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
It was a Unix command first
Fair enough 👍