Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

linux¸ùÎļþϵͳÓëinitrd£¨×ª£©


1
¸ùÎļþϵͳ
¼òµ¥À´Ëµ£¬£¨¸ùÎļþϵͳ£©¾ÍÊÇϵͳµÚÒ»¸ö
mount
µÄÎļþϵͳ

Filesystem
Handling
Like
every  
traditional  
Unix  
system,  

Linux  
makes  
use  
of  

a  
system 's 
root  
filesystem

it  
is  
the  
filesystem  

that  
is  
directly  
mounted  

by  
the  
kernel  
during
  
the  
booting  
phase  
and  

that  
holds  
the  
system  

initialization  
scripts  
and  

the  
most  
essential  
system  

program.
Other  

filesystems  
can  
be  
mounted
either  
by  
the  
initialization  

scripts  
or  
directly  
by  

the  
users on  
directories  
of  

already  
mounted  
filesystems.  

Being  

tree  
of  

directories  
every  
filesystem  

has  
its  
own  
root 

directory.  
The  
directory  
on  

which  
a  
filesystem  
is  

mounted  
is  
called 
the  

mount  
point.  
A  
mounted  

filesystem  
is  
a  
child  

of  
the  
mounted 


Ïà¹ØÎĵµ£º

Linux iptableÎĵµ

×ÜÀÀ
ÓÃiptables -ADC À´Ö¸¶¨Á´µÄ¹æ
Ôò
£¬-AÌí¼Ó -Dɾ³ý -C ÐÞ¸Ä
iptables - [RI] chain rule num rule-specification[option]
ÓÃiptables - RI ͨ¹ý¹æÔòµÄ˳ÐòÖ¸¶¨
iptables -D chain rule num[option]
ɾ³ýÖ¸¶¨¹æÔò
iptables -[LFZ] [chain][option]
ÓÃiptables -LFZ Á´Ãû [Ñ¡Ïî]
iptables -[NX] chain
ÓÃ -NX ......

¿ØÖÆÎļþµÄ±¸·Ý¼°»Ö¸´£¨linuxϺÍXPϲ½ÖèÊÇÒ»ÑùµÄ£©

±¸·Ý¿ØÖÆÎļþ°üÀ¨ÈýÖÖ·½·¨£º
(1)ͨ¹ý²Ù×÷ϵͳÃüÁîÔÚÊý¾Ý¿â¹Ø±Õʱ¶Ô¿ØÖÆÎļþ½øÐÐCOPY£»
(2)ÀûÓÃALTER DATABASE BACKUP CONTROLFILE TOÃüÁ¿ØÖÆÎļþ±¸·Ýµ½¶þ½øÖÆÎļþ£»
SQL> alter database backup controlfile to 'E:\oracle\product\10.2.0\orcl\controlfile01.bak';
Êý¾Ý¿âÒѸü¸Ä¡£
(3)ÀûÓÃALTER DATABASE BACKU ......

linux daemonº¯Êý

#include <unistd.h>
int daemon(int nochdir,int noclose)
ÔÚ´´½¨¾«Áé½ø³ÌµÄʱºò,ÍùÍùÐèÒª½«¾«Áé½ø³ÌµÄ¹¤×÷Ŀ¼ÐÞ¸ÄΪ"/"¸ùĿ¼
²¢ÇÒ½«±ê×¼ÊäÈë,Êä³öºÍ´íÎóÊä³öÖØ¶¨Ïòµ½/dev/null
daemonµÄ×÷ÓþÍÊǵ±²ÎÊýnochdirΪ0ʱ,½«¸ùĿ¼ÐÞ¸ÄΪ¹¤×÷Ŀ¼
nocloseΪ0ʱ,×öÊäÈë,Êä³öÒÔ¼°´íÎóÊä³öÖØ¶¨Ïòµ½/dev/null
Ö´ ......

һЩ³£ÓõÄLinuxÃüÁî

¡¡¡¡×ܽáһЩ³£ÓõÄLinuxÃüÁî¡£
Ò»¡¢LinuxÄں˺Ͱ汾²éѯÃüÁî
¡¡¡¡ÃüÁ uname -a
¡¡¡¡×÷Ó㺠²é¿´ÏµÍ³Äں˰汾ºÅ¼°ÏµÍ³Ãû³Æ¡£
¡¡¡¡ÃüÁ cat /proc/version
¡¡¡¡×÷Ó㺠²é¿´Ä¿Â¼"/proc"ÏÂversionµÄÐÅÏ¢£¬Ò²¿ÉÒԵõ½µ±Ç°ÏµÍ³µÄÄں˰汾ºÅ¼°ÏµÍ³Ãû³Æ¡£
¡¡¡¡ÃüÁlsb_release -a
¡¡¡¡×÷Ó㺵Ǽµ½·þÎñÆ÷Ö ......

Linux Shell±à³Ì(»ù´¡½Ì³Ì)


±¾ÎÄÍøÖ·:http://bbs.bitscn.com/72875 ¸´ÖÆ
1. Linux ½Å±¾±àд»ù´¡
1.1 Óï·¨»ù±¾½éÉÜ
1.1.1 ¿ªÍ·
       ³ÌÐò±ØÐëÒÔÏÂÃæµÄÐпªÊ¼£¨±ØÐë·ÅÔÚÎļþµÄµÚÒ»ÐУ©£º 
       #!/bin/sh 
¡¡   ·ûºÅ#!ÓÃÀ´¸æËßϵͳËüºóÃæµÄ²ÎÊýÊÇÓÃÀ´Ö´ÐÐ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ