-   Linux - Newbie (
-   -   permission denied executing /proc/version (

syandoa 03-16-2004 12:40 PM

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?


DrOzz 03-16-2004 12:42 PM

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 :
cat /proc/version

either as root or normal user, it doesn't matter ....

and a more simpler way of finding your kernel version is to type :
uname -r

or :
uname -a
to see everything ..

syandoa 03-16-2004 01:02 PM

thank you. I didn't think to check it was a text file.

All times are GMT -5. The time now is 02:16 PM.