Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-16-2004, 01:40 PM   #1
LQ Newbie
Registered: Mar 2004
Location: NC
Distribution: shrike
Posts: 2

Rep: Reputation: 0
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?

Old 03-16-2004, 01:42 PM   #2
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
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 ..
Old 03-16-2004, 02:02 PM   #3
LQ Newbie
Registered: Mar 2004
Location: NC
Distribution: shrike
Posts: 2

Original Poster
Rep: Reputation: 0
thank you. I didn't think to check it was a text file.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
/proc/asound/card0/pcm0p/oss: Permission denied crane Linux - Hardware 4 08-23-2007 06:41 AM
User executing script: bad interpreter: Permission denied stefaandk Linux - Newbie 7 06-27-2005 10:53 AM
fc3 /proc/net permission denied adem0rdna Fedora 15 05-26-2005 12:08 AM
permission denied when executing my own script Red Squirrel Linux - Newbie 3 03-07-2004 09:21 PM
Compling on a higher version and executing on a lower version aditya_shah Programming 0 10-01-2003 12:48 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:42 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration