Fuzzy Fox wrote:
>
> John Simmons <[EMAIL PROTECTED]> wrote:
>>
>> > echo 1 > /proc/sys/net/ipv4/ip_forward
>>
>> I had this line in there, but didn't have a space on either side of
>> the ">" character. When I added the spaces, it worked!
>
> Um... technically those spaces are not necessary, so I don't know why
> that made a difference. :)
The first space (between "1" and ">") is necessary. If it's not there,
the shell thinks you want to redirect file descriptor 1 (stdout) of the
"echo" command to the file:
$ echo 1> foo
$ cat foo
$ echo 1 > foo
$ cat foo
1
You could also enclose the "1" in double quotes or escape it with a
backslash to stop the shell from treating "1>" specially.
--
/'"`\ zzzZ | My PGP Public Key is available at:
( - - ) | <http://home1.inet.tele.dk/renehl/>
--oooO--(_)--Oooo------------------------------------------
Don't ya just hate it when there's not enough room to fin
_______________________________________________
Masq maillist - [EMAIL PROTECTED]
http://tiffany.indyramp.com/mailman/listinfo/masq
Admin requests can be handled by web (above) or [EMAIL PROTECTED]