These aliases trip me up. If I type rm -r -f * I get an error about ambiguous arguments between -force or -filter, and I need to change the flag to rm -r -fo *.
I also lost half an hour figuring out why curl was respecting the system default proxy in one terminal window but not the other. After that I turned off a bunch of aliases.
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?
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
These aliases trip me up. If I type
rm -r -f *
I get an error about ambiguous arguments between-force
or-filter
, and I need to change the flag torm -r -fo *
.I also lost half an hour figuring out why
curl
was respecting the system default proxy in one terminal window but not the other. After that I turned off a bunch of aliases.Did you try
rm -rf <file or dir>
? That’s what I usually use if I’m in PowerShell.I tried it; I get
Remove-Item : A parameter cannot be found that matches parameter name 'rf'
. TheRemove-Item
cmdlet doesn't have a param starting withrf
... Is yourrm
not aliased toRemove-Item
?