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

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Windows/...', 1740463165, '3.22.27.192', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Windows/PowerShell/alias/unix-and-cmd-exe-like(79): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78