Search notes:

PowerShell: Unix and cmd.exe like aliases

PowerShell defines a few default aliases that give Linux shell and former cmd.exe users a warm feeling:
Alias name aliased function
cat Get-Content
cd Set-Location
chdir Set-Location
clear Clear-Host
copy Copy-Item
cp Copy-Item
del Remove-Item
diff Compare-Object
dir Get-ChildItem
echo Write-Output
erase Remove-Item
foreach ForEach-Object
history Get-History
kill Stop-Process
ls Get-ChildItem
man help
md mkdir
mount New-PSDrive
move Move-Item
mv Move-Item
popd Pop-Location
ps Get-Process
pushd Push-Location
pwd Get-Location
rm Remove-Item
rmdir Remove-Item
set Set-Variable
sleep Start-Sleep
sort Sort-Object
tee Tee-Object
type Get-Content
where Where-Object
write Write-Output

See also

The automatic variables $PID and $PWD and the preference variable $OFS also remind very much of Unix.
alias

Index