[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Redirection using sudo...?
- Subject: [ale] Redirection using sudo...?
- From: esoteric at 3times25.net (Geoffrey)
- Date: Tue, 13 Jun 2006 15:15:59 -0400
- In-reply-to: <[email protected]>
- References: <[email protected]>
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