Showing posts with label tee. Show all posts
Showing posts with label tee. Show all posts

Use tee to set values in proc or sysfs

There are times when you can't do a "echo something > /proc/somewhere", especially when you got to use "sudo".

Using tee helps:

echo value | sudo tee /proc/somewhere