Comment on Podman: Issues with multiple users running containers simultaneously
glizzyguzzler@piefed.blahaj.zone 1 day agoSo the sudo echo does echo as sudo but doesn’t carry over? Makes sense damn I hate bash! Any way to keep the >>? Or do you need to tee? Cause the >> is pretty cool
frongt@lemmy.zip 1 day ago
That’s the thing about computers, they do exactly what you tell them.
sudo echoworks, but the pipe and the redirect are interpreted by the bash shell you’re in, which isn’t being run with sudo.You should also know that echo is a bash shell builtin, so the echo you’re running with
echoandsudo echoare two very different things.