You are not logged in.
Just wanted to do a little system maintenance for once using "sudo pacman -Qtdq | pacman -Rns -" to clean orphans, yet I get the error message "You cannot perform this operation unless you are root"
Yes I used sudo, why is this not working?
Cheers
Last edited by Der Chefkoch (2022-06-01 12:11:25)
Offline
You need sudo for the pipe, not the query...
You need sudo for the pipe, not the query...
And again I learned something, thank you.
Offline
I hope you didn't "learn" that all piped commands need elevated privileges... ![]()