Share your knowledge at the LQ Wiki.
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 12-29-2004, 02:04 AM   #1
Registered: Dec 2004
Distribution: Fedora
Posts: 88

Rep: Reputation: 15
cat layer7 pattern to /proc/net/layer7_protocols

why i cant do this???

[root@jin l7-protocols-2004_12_08]# cat /root/netFilter/l7-protocols-2004_12_08/*.pat > /proc/net/layer7_protocols
bash: /proc/net/layer7_protocols: No such file or directory

Then i go to /proc/net to create a directory , by using this command :

[root@jin net]#mkdir layer7_protocols
mkdir: cannot create directory `layer7_protocols': No such file or directory

why i cant create a directory in /proc/net ???
how can i solve it??
Thanks in advance.
Old 12-29-2004, 02:58 AM   #2
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677
The /proc directory is not a regular file directory. It is a pseudo file system that is created by the kernel. A file in the /proc directory does not actually exist, but is created by the kernel on the fly as it is needed. If a section does not exist there that you expected, you probably don't have a module loaded into the kernel.

One other thought, it may not be a great idea using characters in your directory names that have a special meaning to the shell, such as the '|' vertical bar character, which is the pipe symbol.

Last edited by jschiwal; 12-29-2004 at 03:03 AM.


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
cat /proc/acpi/thermal_zone/THRM/temperature qwijibow Linux - General 4 01-12-2005 04:48 AM
/proc/net/wireless MarkusMan Linux - Wireless Networking 2 01-26-2004 09:56 PM
Something similar to "cat /proc/device" under Linux? BSlack Solaris / OpenSolaris 4 12-17-2003 04:40 AM
oops, ascii 'graphics' characters after cat /proc/kcore itsjustme Slackware 3 05-13-2003 10:03 PM
found my pci modem in /cat /proc/pci... now what? bxb32001 Linux - Newbie 2 06-23-2001 11:43 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:58 AM.

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