---

Running Complex Commands with sudo

“This fails with “permission denied” because the
file is writable only by root:

$ echo 12000 > /proc/sys/vm/dirty_writeback_centisecs

“But, this fails too:

$ sudo echo 12000 >
/proc/sys/vm/dirty_writeback_centisecs

“Why?”


Complete Story

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis