I know that I can use
to see the amount of received bytes. Sadly I only can run this command as root.
When I am another user, I get
cat: /sys/class/net/eth0/statistics/rx_bytes: Permission denied
Is there an easy way to allow non-root users to read this file? Currently a non-root is not allowed to access any of the directories in path.
I also tried to use
ifconfig, but there I get this error
Warning: cannot open /proc/net/dev (No such file or directory). Limited output.