David Fox wrote:
> 
> It might be worth mentioning that "sudo" doesn't work across pipes:
> 
> For instance:
> 
> sudo command_1 | command_2
> 
> The first command will be run as root, but the second will be run with
> normal user permissions. You can probably get around that by enclosing
> the entire pipechain in quotes, but there's sometimes when just
> entering su for the command and exiting su when finished is easier.
> 
>>

hmmm... How about

sudo command_1 | sudo command_2



raju
-- 
Kamaraju S Kusumanchi
http://www.people.cornell.edu/pages/kk288/
http://malayamaarutham.blogspot.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to