[ale] Redirection using sudo...?

Geoffrey esoteric at 3times25.net
Tue Jun 13 15:15:59 EDT 2006


Michael B. Trausch wrote:
> Okay, so I know that the shell itself implements redirection.  This is not a 
> problem for me, as I use various forms of redirection and piping and such 
> all the time.  However, I have wondered if there is a way to change how 
> that works.
> 
> Sometimes, I want to change something in /proc or /sys.  Doing something 
> like: 
> 
>  $ sudo echo "newvalue" > /sys/something

Have you tried quoting the command?

sudo 'echo "newvalue" > /sys/something'

-- 
Until later, Geoffrey

Any society that would give up a little liberty to gain a little
security will deserve neither and lose both.  - Benjamin Franklin



More information about the Ale mailing list