After following the Anon Uimik's instructions to get root access here:
How to make Termux obtain root access?
I'm trying to get the value of the file /proc/sys/kernel/hostname
but I'm getting Permission denied
. Any help?
~ # cat /proc/sys/kernel/hostname
cat: /proc/sys/kernel/hostname: Permission denied
proot
is pseudo (fake) root. It won't give you root privileges in real environment.