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

¹ØÓÚLinuxϵÄ/dev/nullºÍ/dev/zeroÎļþ

ʹÓÃ/dev/null
°Ñ/dev/null¿´×÷"ºÚ¶´". Ëü·Ç³£µÈ¼ÛÓÚÒ»¸öֻдÎļþ. ËùÓÐдÈëËüµÄÄÚÈݶ¼»áÓÀÔ¶¶ªÊ§. ¶ø³¢ÊÔ´ÓËüÄǶù¶ÁÈ¡ÄÚÈÝÔòʲôҲ¶Á²»µ½. È»¶ø, /dev/null¶ÔÃüÁîÐкͽű¾¶¼·Ç³£µÄÓÐÓÃ. ½ûÖ¹±ê×¼Êä³ö.
1 cat $filename >/dev/null
2 # ÎļþÄÚÈݶªÊ§£¬¶ø²»»áÊä³öµ½±ê×¼Êä³ö.
½ûÖ¹±ê×¼´íÎó
1 rm $badname 2>/dev/null
2 # ÕâÑù´íÎóÐÅÏ¢[±ê×¼´íÎó]¾Í±»¶ªµ½Ì«Æ½ÑóÈ¥ÁË
½ûÖ¹±ê×¼Êä³öºÍ±ê×¼´íÎóµÄÊä³ö
1 cat $filename 2>/dev/null >/dev/null
2 # Èç¹û"$filename"²»´æÔÚ£¬½«²»»áÓÐÈκδíÎóÐÅÏ¢Ìáʾ.
3 # Èç¹û"$filename"´æÔÚ, ÎļþµÄÄÚÈݲ»»á´òÓ¡µ½±ê×¼Êä³ö.
4 # Òò´ËTherefore, ÉÏÃæµÄ´úÂë¸ù±¾²»»áÊä³öÈκÎÐÅÏ¢.
5 #
6 # µ±Ö»Ïë²âÊÔÃüÁîµÄÍ˳öÂë¶ø²»ÏëÓÐÈκÎÊä³öʱ·Ç³£ÓÐÓá£
7 #
8 #
9 # cat $filename &>/dev/null
10 # Ò²¿ÉÒÔ, ÓÉ Baris Cicek Ö¸³ö
×Ô¶¯Çå¿ÕÈÕÖ¾ÎļþµÄÄÚÈÝ (ÌرðÊʺϴ¦ÀíÕâЩÓÉÉÌÒµWebÕ¾µã·¢Ë͵ÄÌÖÑáµÄ"cookies"):
1 if [ -f ~/.netscape/cookies ] # Èç¹û´æÔÚÔòɾ³ý.
2 then
3 rm -f ~/.netscape/cookies
4 fi
5
6 ln -s /dev/null ~/.netscape/cookies
7 # ÏÖÔÚËùÓеÄcookies¶¼»á¶ªÈëºÚ¶´¶ø²»»á±£´æÔÚ´ÅÅÌÉÏÁË.
ʹÓÃ/dev/zero
Ïñ/dev/nullÒ»Ñù, /dev/zeroÒ²ÊÇÒ»¸öαÎļþ, µ«Ëüʵ¼ÊÉϲúÉúÁ¬Ðø²»¶ÏµÄnullµÄÁ÷£¨¶þ½øÖƵÄÁãÁ÷£¬¶ø²»ÊÇASCIIÐ͵ģ©. дÈëËüµÄÊä³ö»á¶ªÊ§²»¼û, ¶ø´Ó/dev/zero¶Á³öÒ»Á¬´®µÄnullÒ²±È½ÏÀ§ÄÑ, ËäÈ»ÕâÒ²ÄÜͨ¹ýod»òÒ»¸öÊ®Áù½øÖƱ༭Æ÷À´×öµ½. /dev/zeroÖ÷ÒªµÄÓô¦ÊÇÓÃÀ´´´½¨Ò»¸öÖ¸¶¨³¤¶ÈÓÃÓÚ³õʼ»¯µÄ¿ÕÎļþ£¬¾ÍÏñÁÙʱ½»»»Îļþ.
¹ØÓÚ /dev/zero µÄÁíÒ»¸öÓ¦ÓÃÊÇΪÌض¨µÄÄ¿µÄ¶øÓÃÁãÈ¥Ìî³äÒ»¸öÖ¸¶¨´óСµÄÎļþ, Èç¹ÒÔØÒ»¸öÎļþϵͳµ½»·»ØÉ豸 £¨loopback device£© »ò"°²È«µØ" ɾ³ýÒ»¸öÎļþ.


Ïà¹ØÎĵµ£º

Linux+Apache+Mysql+PHPÓÅ»¯¼¼ÇÉ


LAMPÕâ¸ö´ÊµÄÓÉÀ´×îÔçʼÓڵ¹úÔÓÖ¾“c't Magazine”£¬Michael KunzeÔÚ1990Äê×îÏÈ°ÑÕâЩÏîÄ¿×éºÏÔÚÒ»Æð´´ÔìÁËLAMPµÄËõд×Ö¡£ÕâЩ×é¼þËäÈ»²¢²»ÊÇ¿ª¿ªÊ¼¾ÍÉè¼ÆΪһÆðʹÓõģ¬µ«ÊÇ£¬ÕâЩ¿ªÔ´Èí¼þ¶¼¿ÉÒԺܷ½±ãµÄËæʱ»ñµÃ²¢Ãâ·Ñ»ñµÃ¡£Õâ¾Íµ¼ÖÂÁËÕâЩ×é¼þ¾­³£ÔÚÒ»ÆðʹÓá£ÔÚ¹ýÈ¥µÄ¼¸ÄêÀÕâЩ×é¼þµÄ¼æÈÝÐÔ²»¶ÏÍêÉÆ£¬Ô ......

Linux ƽ̨Ï MYSQL°²×° Æô¶¯ mysqlÃüÁî

MYSQL°²×°
//½âѹ±àÒë°²×°
# tar xzvf mysql-5.0.27.tar.gz
# cd mysql-5.0.27
# ./configure -prefix=/home/redadmin/mysql
# make
# make install
# cd /home/redadmin/mysql/
# cp share/mysql/my-medium.cnf ./
# mv my-medium.cnf my.cnf
// my.confÎļþÐÞ¸Ä
# vi my.cnf
ÐÞ¸ÄÇ°£º
port  &nb ......

ÓÃLinuxÏÂPerl½Å±¾Á¬½ÓSQLServer

×¼±¸¹¤×÷:
¡¡¡¡Óõ½µÄperl À©Õ¹×é¼þ(modules)ÔÚÉÏƪÌù³ö.( win32::odbc Ä£¿é
)ÏÂÔØ×é¼þºó°´ÕÕReadmeÎļþ°²×°µ¹ÏìӦĿ¼.ÅäÖúÃÏàÓ¦µÄodbcÊý¾ÝÔ´.
¡¡¡¡
¡¡¡¡³ÌÐòʵÏÖ:
¡¡¡¡Ê¹ÓÃ
¡¡¡¡use
Win32::ODBC;
¡¡¡¡
¡¡¡¡Óï¾ä°üº¬Ó¦Ê¹ÓõÄÄ£¿éÊÇwin32::odbc,д³öÊý¾Ý¿â
Á¬½Ó×Ö·û´®
¡¡¡¡
¡¡¡¡$DSN = "DSN =
My DSN ......

svn + apache of linux °²×°ÅäÖÃ

°´ÒÔÏ·½·¨,°²×°ÁËSVN ·þÎñÆ÷¶Ë,Óöµ½ÁËÁ½¸öÎÊÌâ,Ò»¸öÊÇAPACHEÎÞ·¨Æô¶¯,ºóÓÃÁíÒ»ÖÖ·½·¨½â¾ö.
×î´óÎÊÌâÊǺóÀ´ÅäÖúúó,Ò»Ö±ÎÞ·¨·ÃÎÊ,³öÏÖ:
Forbidden
You don't have permission to access /svn/mysvn on this server
.
´íÎó,ºó·ÖÎö,¿ÉÄÜÊÇĿ¼ȨÏÞÎÊÌâ,ºóÀ´°Ñ°æ±¾¿âµÄĿ¼ȨÏÞÐ޸ijÉ777 ,½â¾ö,
ºóÃæȨÏÞ¿ØÖÆ,ÔÙÒ»²½Ò»² ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ