DEV Community

Discussion on: Linux commands that work in Powershell by default.

Collapse
 
bryrod profile image
Bryan Rodriguez

Did you try rm -rf <file or dir>? That’s what I usually use if I’m in PowerShell.

Collapse
 
darthwalsh profile image
Carl Walsh

I tried it; I get Remove-Item : A parameter cannot be found that matches parameter name 'rf'. The Remove-Item cmdlet doesn't have a param starting with rf... Is your rm not aliased to Remove-Item?