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-Alias Orsal |
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-Alias Orgal |
Coming Soon. |
View command manual | man |
Get-Help Orman |
Coming Soon. |
Reboot | shutdown Orreboot |
Restart-Computer |
Coming Soon. |
shut down | shutdown |
Stop-Computer |
Coming Soon. |
Reflection of settings | source Or. |
. |
Coming Soon. |
Change file permissions | chmod |
icacls |
Coming Soon. |
Delete file | rm |
Remove-Item Orrm |
Coming Soon. |
Change file owner | chown |
takeown |
Coming Soon. |
Create new file | touch |
New-Item Orni |
Create new file [Comparison between Bash and PowerShell] |
Search for strings in files | grep |
Select-String Orsls |
Coming Soon. |
File name search | find |
Get-ChildItem Ordir Orls |
Coming Soon. |
Launch process (launch app) | xdg-open Or./ |
Start-Process Orstart Or./ |
Coming Soon. |
View process | ps |
Get-Process |
Coming Soon. |
If anything happens, I will add it | `` | `` | Coming Soon. |
Recommended Posts