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 |
Top comments (0)