A memo for the time being. Add as needed when I feel it or when requested.
| What you want to do | Bash command | PowerShell commands | How to use(URL link) |
|---|---|---|---|
| Creating an alias | alias |
Set-AliasOrsal |
Coming Soon. |
| Create an alias (if there are multiple arguments) | alias |
Does not exist (create your own function) | Create an alias (if there are multiple arguments)【BashとPowerShellの比較】 |
| View alias details | alias |
Get-AliasOrgal |
Coming Soon. |
| View command manual | man |
Get-HelpOrman |
Coming Soon. |
| Reboot | shutdownOrreboot |
Restart-Computer |
Coming Soon. |
| shut down | shutdown |
Stop-Computer |
Coming Soon. |
| Reflection of settings | sourceOr. |
. |
Coming Soon. |
| Change file permissions | chmod |
icacls |
Coming Soon. |
| Delete file | rm |
Remove-ItemOrrm |
Coming Soon. |
| Change file owner | chown |
takeown |
Coming Soon. |
| Create new file | touch |
New-ItemOrni |
Create new file [Comparison between Bash and PowerShell] |
| Search for strings in files | grep |
Select-StringOrsls |
Coming Soon. |
| File name search | find |
Get-ChildItemOrdirOrls |
Coming Soon. |
| Launch process (launch app) | xdg-openOr./ |
Start-ProcessOrstartOr./ |
Coming Soon. |
| View process | ps |
Get-Process |
Coming Soon. |
| If anything happens, I will add it | `` | `` | Coming Soon. |
Recommended Posts