The /proc filesystem is a 'pseudo filesystem': it looks like any other hierarchical structure of files and folders. Some of the operations you would usually perform on other files simply won't work.
That is, because it actually is a file system interface to the kernel it only implements basic operations such as "read from" or "write to". thus, the basic way to inspect some kernel parameter such as /proc/ioports is to look at the output of a 'cat '.
For other, tunable parameters, something like 'echo "1" > /proc/sys/net/ip_forward' could turn ip forwarding on.
Links to this Page
- trees last edited on 26 June 2001 at 12:36 am by pD90042A1.dip.t-dialin.net
- enter. last edited on 21 February 2002 at 1:43 am by max2-171.dialin.uni-hamburg.de.