Oddity in /proc/

Kenton Brede kbrede at nixnotes.org
Thu Apr 21 01:00:42 UTC 2005


On Wed, Apr 20, 2005 at 08:53:29PM -0400, Matthew S-H (mathbymath at aol.com) wrote:
> I seem to have found an "oddity" in "/proc/".  Chances are, all of the 
> experts on this list know about this and I'm just showing off my 
> newb-ish-ness, but i would like to ask anyway.
> 
> When I type in "sudo ls /proc/1/auxv", I don't get a "normal" output.  
> It outputs "/proc/1/auxv".  Is this normal?  Shouldn't it list some 
> files?  And when I type in the same thing with the -a parameter, 
> shouldn't it show the implied "." and ".." directories?  For some 
> reason it doesn't.

This isn't a directory it is a file.

$ sudo ls -l /proc/1/auxv
-r--------  1 root root 0 Apr 20 19:56 /proc/1/auxv

Kent

-- 
"Our lives begin to end the day we become silent about things that matter."
  - Martin Luther King Jr.





More information about the ubuntu-users mailing list