lhunath 1293110315 learn sudo echo foo > /etc/bar -- The file redirection (> /etc/bar) is bash syntax, so bash performs the opening of the file. To make a sudo'ed process open the file, use: echo foo | sudo tee /etc/bar lhunath 1293110475 forget lhunath 1293110501 learn sudo echo foo >> /etc/bar -- The file redirection (> /etc/bar) is bash syntax, so bash performs the opening of the file. To make a sudo'ed process open the file, use: sudo tee -a /etc/bar <<< foo lhunath 1293110666 forget lhunath 1293110678 learn sudo echo foo >> /etc/bar -- The file redirection (>> /etc/bar) is bash syntax, so bash performs the opening of the file. To make a sudo'ed process open the file, use: sudo tee -a /etc/bar <<< foo lhunath 1393259654 forget lhunath 1393259659 learn #redirect sudofail