LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 09-18-2008, 09:55 AM   #1
jhaxxar
LQ Newbie
 
Registered: Sep 2008
Posts: 11

Rep: Reputation: 0
Problem with the Proc command


When I do a /proc/partitions........I get permissions denied...........

This happen after I attempted to mount a filesystem.

Is there a way to undo this?
 
Old 09-18-2008, 11:32 AM   #2
jhaxxar
LQ Newbie
 
Registered: Sep 2008
Posts: 11

Original Poster
Rep: Reputation: 0
Discovered my problem. I have to use "Cat" in front of the "/proc/partitons".

Thats the problem about switching back and forth between MsDos and Linux LOL.
 
Old 09-18-2008, 03:26 PM   #3
eth1
Member
 
Registered: May 2008
Posts: 97

Rep: Reputation: 20
As /proc is a real time file system once should only view the contents of the files using a program such as 'cat'.

Earlier when you ran '/proc/partitions' it would imply you're trying to execute that file.
 
  


Reply


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
command to write into proc entry pravin.embedded Linux - Newbie 1 09-11-2008 09:03 AM
Boot hang after 'proc on /proc type proc (rw)' Hagoromo Slackware 13 10-05-2007 06:03 PM
SuSe and Redhat IO command simliar to cat /proc/cpuinfo? awkward Linux - General 3 06-21-2007 10:13 AM
problem on /proc/self/exe and /proc/num/exe snowing Programming 6 08-31-2006 02:17 AM
hidden directories under proc... what are they for? : (/proc/.23142) syssyphus Linux - General 1 04-10-2006 04:23 PM


All times are GMT -5. The time now is 10:30 PM.

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