I followed this tutorial guide on "How to Create Linux Proc Files in C Program using LKM".
I've successfully made my module and loaded it in. Now I want to echo to my proc file to make sure the method gets called that's supposed to be called.
I have tried:
$ echo "hello" > /proc/procEntry123 # But it says permission is denied!
$ sudo echo "hello" > /proc/procEntry123 # Same error message.
How can I elevate privileges to echo to this file? I am the sole user and admin on this system.
suthe super user. It stands for something like "Take this action as the super user" since the second half isdoas in "do this, do that" – TheZ Sep 28 '12 at 23:58