|
| |
:Running Complex Commands with sudo
Running Complex Commands with sudo Apr 3, 2009, 14 :03 UTC (1 Talkback[s]) (5380 reads) (Other stories by Don Marti) |
"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
Related Stories:
Exploring filters and pipes(Apr 02, 2009)
Linux Barbies Battle the Command Line(Mar 28, 2009)
GUI Programming in Python For Beginners: Create a Timer in 30 Minutes(Mar 26, 2009)
Thunar File Browser: Tips, Tricks and Scripts(Mar 22, 2009)
Command-Line-Fu, Because Knowledge is Power (Mar 17, 2009)
Intro to Shell Programming: Writing a Simple Web Gallery(Mar 12, 2009)
The command-line phrasebook(Mar 05, 2009)
10 steps to UNIX nirvana(Mar 04, 2009)
|