sudo & redirect output
- by Khaled
I have a small question regarding using sudo with output redirect >. To enable IP forwrding, someone can use the command:
$ echo 1 > /proc/sys/net/ipv4/ip_forward
Executing this command will give permission denied as it requires root privileges. However, executing the same command with sudo gives also permission denied error! It seems that…