permission denied executing /proc/version
I am logged in as root and using bash. I was told that to find my kernel version I could execute /proc/version. However, I get a 'Permission denied' error. I also made root the owner and tried chmod on it, and that operation was not permitted either. What am I doing wrong?
first and foremost /proc is a "virtual folder" just to let you know ...
you will notice that all files have a size of 0 bytes ...
and, i dont' know what you mean by "trying to execute it" cause there is nothing to execute. ..
all you have to type is :
either as root or normal user, it doesn't matter ....
and a more simpler way of finding your kernel version is to type :
to see everything ..
thank you. I didn't think to check it was a text file.
|All times are GMT -5. The time now is 06:25 PM.|