This content originally appeared on DEV Community and was authored by Talles L
Thankfully, it's been awhile since I last had to use Windows on my day to day.
If I ever have to deal with it again, here is my cheat sheet of commands:
Linux command | PowerShell equivalent command |
---|---|
xdg-open | ii |
rm -rf | rm -r -fo |
rm | ri |
mv | mv |
touch | ni |
cat | cat |
man | man |
shutdown | Stop-Computer |
tail -f | Get-Content -Path "C:\scripts\test.txt" -Tail 10 |
This content originally appeared on DEV Community and was authored by Talles L

Talles L | Sciencx (2024-10-15T22:23:54+00:00) Using PowerShell for day to day stuff. Retrieved from https://www.scien.cx/2024/10/15/using-powershell-for-day-to-day-stuff/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.