| unix/cmd | powershell | description |
| -------- | ---------------------------------------- | ----------------------------- |
| ls | Get-ChildItem (alias: dir, ls) | list directory contents |
| cd | Set-Location (alias: cd) | change directory |
| mkdir | New-Item -ItemType Directory (alias: md) | create new directory |
| rm | Remove-Item (alias: del, rm) | remove file or directory |
| mv | Move-Item (alias: mv) | move or rename file/directory |
| cp | Copy-Item (alias: cp) | copy file or directory |
| cat | Get-Content (alias: type, cat) | display file contents |
| echo | Write-Output (alias: echo) | output to console |
| grep | Select-String | search for patterns in text |
| pwd | Get-Location (alias: pwd) | print working directory |
| touch | New-Item | create new file |
| chmod | Set-Acl | change file permissions |
| man | Get-Help | display manual for a command |
| ps | Get-Process | list running processes |
| kill | Stop-Process | terminate a process |
| > | Out-File | redirect output to file |
| >> | Out-File -Append | append output to file |
| & | Start-Process | run command in background |
#computing
#programming
#cheatsheet