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

linux³£ÓÃÃüÁîСȫ

1.±ä¸üÓû§£º su root   »ò su - ×¢Ò⣨ÈôÖ»ÓÃsu£¬ÔòÖ»»»Óû§£¬²»»»shell£©¡£
2.´´½¨Îļþ¼Ð£º mkdir -m777 tool ´´½¨too²¢ÉèÖÃȨÏÞ mkdir -p tool2/tool3 Á¬¼¶´´½¨Îļþ¼Ð¡£
3.ɾ³ýÎļþ»òÎļþ¼Ð£º rm -r  tool2 µÝ¹éɾ³ý£¬Á¬Í¬×ÓĿ¼һÆðɾ³ý¡£ rm -fr ²»ÓÃÌáʾ£¬Ö±½ÓÇ¿ÖƵݹéɾ³ý¡£
4.Òƶ¯Ä¿Â¼£º mv -iv /home/tool  /home/shanxiao  Òƶ¯Îļþ¼ÐʱÏÔʾÐÅÏ¢£¬²¢ÌáʾÊÇ·ñ¸²¸Ç¡£
5.н¨Îļþ£º touch one two three н¨one£¬two£¬threeÈý·ÝÎļþ¡£
6.Îļþ¸üÃû£º mv one two ½«one¸ÄÃûΪtwo¡£
7.ͼÐÎģʽµ½ÃüÁîÐÐģʽÇл»£º init 3 ÃüÁîÐÐģʽ  init 5 ͼÐÎģʽ  start x ͼÐÎģʽ£¬ÐÞ¸Ä vi /etc/inittab ÖÐid£º5£ºinitdefault£¬
ÉèÖÃĬÈÏ¿ª»úģʽÊÇÃüÁîÐл¹ÊÇͼÐΡ£
8.ÉÏ´«ºÍÏÂÔØÎļþ£º rzÉÏ´«Îļþ¡£ szÏÂÔØÎļþ¡££¨×¢Òâ´ËÃüÁîÒª°²×°Ïà¹Ø²å¼þ²ÅÄÜÉúЧ£©
9.¼ì²ârpm°üµÄ°²×°£º rpm -q mysql ¼ì²âmysqlÊÇ·ñÒѾ­°²×°¡£
10.Æô¶¯ºÍ¹Ø±Õweb·þÎñ£º /etc/init.d/httpd start Æô¶¯apche£¬ÀàËÆÓÐ/etc/init.d/iptables stop ¹Ø±Õ·À»ðǽ¡£
11.²éÕÒÎļþ£º find / -name httpd.conf ÔÚ¸ùĿ¼Ï²éÕÒÃû×ÖΪhttpd.confµÄÎļþ¡£
                     find / -name *.txt ÔÚ¸ùĿ¼Ï²éÕÒËùÓÐtxtÎļþ¡£
                     find / -name conf ÔÚ¸ùĿ¼Ï²éÕÒconfÎļþ¼Ð
12. viϲéÕÒ×Ö·û´®ºÍÌæ»»×Ö·û´®£º  : /DocumentRoot   ²éÕÒDocumentRoot×Ö·û´®
                                                 : s/old/new/g    ÓÃnewÌæ»»±¾ÐÐËùÓÐold×Ö·û´®
                                      &nb


Ïà¹ØÎĵµ£º

ÔÚlinuxÏÂʵÏÖweb qqµÄ×ÀÃ滯


´´½¨×ÀÃæͼ±ê
Ä¿Ç°½«ÍøÂçÓ¦ÓÃÀ©Õ¹µ½×ÀÃæÊÇÒ»¸öÇ÷ÊÆ£¬´æÔÚןܶà½â¾ö·½°¸£¬±¾ÎÄÒÔ Mozilla Prism ΪÀý£¬ÀàËƵķ½·¨Í¬ÑùÊÊÓÃÓÚ Google Chrome ¡£
1. µ½ Mozilla Prism µÄÍøÕ¾ÉÏÏÂÔØ Prism£¬µã»÷ Download Now Ö®ºó»áÌáʾÓÐÁ½ÖÖ£¬Ò»ÖÖÊÇÒÔ Mozilla Firefox À©Õ¹µÄ·½Ê½£¬ÊʺÏÒѾ­°²×°ÓÐ Firefox µÄÅóÓÑ£»Ò»Ö ......

linuxµÄHZ, Tick, Jiffies

     LinuxºËÐļ¸¸öÖØÒª¸úʱ¼äÓйصÄÃû´Ê»ò±äÊý£¬µ×Ͻ«½éÉÜHZ¡¢tickÓëjiffies¡£
£¨1£©HZ
      LinuxºËÐÄÿ¸ô¹Ì¶¨ÖÜÆڻᷢ³ötimer interrupt (IRQ 0)£¬HZÊÇÓÃÀ´¶¨ÒåÿһÃëÓм¸´Îtimer interrupts¡£¾ÙÀýÀ´Ëµ£¬HZΪ1000£¬´ú±íÿÃëÓÐ1000´Îtimer interrupts¡£ HZ¿ÉÔÚ±àÒëºËÐ ......

LinuxµÄ¼¸¸ötip

1. ÓÐЩÃüÁî²ÎÊý¹ý¶à£¬¿ÉÒÔÓÃgrepÀ´·½±ã²éÕÒ£¬È磺
                    iptables -h 2>&1|grep '\-A'
ÆäÖÐ2>&1½«stderrתÏòstdout£¬È»ºóÎÒÃǾͿÉÒÔͨ¹ýgrepÕÒµ½ÐèÒªµÄÑ¡ÏҪעÒâµÄÊǺá¸Ë֮ǰҪ¼Ó·´Ð±¸ ......

linux CÕýÔò±í´ïʽ

ÔÚÍøÉÏÕÒµ½µÄÒ»¸ö³ÌÐò
[c]
#include <stdio.h>
#include <sys/types.h>
#include <regex.h>
/* È¡×Ó´®µÄº¯Êý */
static char* substr(const char*str,unsigned start, unsigned end)
{
      unsigned n = end - start;
      static char stbuf[256]; ......

Linux¼¼ÇÉ£ºLinuxϵͳÏÂÅúÁ¿Ìæ»»ÎļþÄÚÈÝ


ÕâÁ½ÌìÔÚ¹¹½¨Ò»¸öÓ¦ÓõÄʹÓÃÓõ½ÁËmaven,ÓÉÓÚprojectºÜ´ó,×ã×ãÓÐ700¶à¸öpom.xmlÎļþ,¸üÓôÃƵÄÊÇÔںܶàpom.xmlÎļþÀﶼµ¥¶ÀÖ¸¶¨ÁË×ÊÔ´¿âµÄurl,ÎÒÐèÒª°ÑÕâЩ×ÊÔ´¿âµÄurlͳһָ¶¨µ½nexus±¾µØÖÐÑë¿â.
ÊÖ¹¤Ò»¸ö¸ö¸ÄÎļþÅäÖÃÓе㲻̫ʵ¼Ê,ËùÒÔgoogleÁËÒ»ÏÂ,ÕÒµ½ÅúÁ¿Ìæ»»ÎļþÄÚÈݵĺ÷½·¨,ÃüÁî½á¹¹ÈçÏÂ:
find -name 'Òª²éÕÒµÄÎ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ