2 karma · joined Feb 26, 2012 (14y ago) · 1 submissions
comment 14y ago · link · parent
echo 1 | sudo tee /proc/foo
This has the added bonus that you can replace "echo 1" with a complex script that may not be safe to run as root.