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
Ïà¹ØÎĵµ£º
1. ÓÐЩÃüÁî²ÎÊý¹ý¶à£¬¿ÉÒÔÓÃgrepÀ´·½±ã²éÕÒ£¬È磺
iptables -h 2>&1|grep '\-A'
ÆäÖÐ2>&1½«stderrתÏòstdout£¬È»ºóÎÒÃǾͿÉÒÔͨ¹ýgrepÕÒµ½ÐèÒªµÄÑ¡ÏҪעÒâµÄÊǺá¸Ë֮ǰҪ¼Ó·´Ð±¸ ......
viÊÇËùÓÐUNIXϵͳ¶¼»áÌṩµÄÆÁÄ»±à¼Æ÷£¬ËüÌṩÁËÒ»¸öÊÓ´°É豸£¬Í¨¹ýËü¿ÉÒÔ±à¼Îļþ¡£µ±È»£¬¶ÔUNIXϵͳÂÔÓÐËùÖªµÄÈË£¬
»ò¶à»òÉÙ¶¼¾õµÃvi³¬¼¶ÄÑÓ㬵«viÊÇ×î»ù±¾µÄ±à¼Æ÷£¬ËùÒÔÏ£Íû¶ÁÕßÄܺúðÑËüѧÆðÀ´£¬ÒÔºóÔÚUNIXÊÀ½çÀï±Ø½«³©ÐÐÎÞ×è¡¢
ÓÎÈÐÓÐÓ࣬ÒòΪÆäËû¼¸ÖÖÎı¾´¦ÀíÆ÷²¢·ÇUNIX±ê×¼Å䱸¡£Ëµ²»¶¨±ðÈ˵ÄLinux»úÆ÷û°²×°j ......
ËùÓеÄÄں˴úÂ룬»ù±¾¶¼°üº¬ÁËinclude/linux/compile.hÕâ¸öÎļþ£¬ËùÒÔËüÊÇ»ù´¡£¬º¸ÇÁË·ÖÎöÄÚºËËùÐèÒªµÄһЩÁбàÒë֪ʶ£¬±¾²©¾Í·ÖÎö·ÖÎöÕâ¸öÎļþÀïµÄ´úÂ룺
#ifndef __LINUX_COMPILER_H
#define __LINUX_COMPILER_H
#ifndef __ASSEMBLY__
Ê×ÏÈÓ¡ÈëÑÛÁ±µÄÊǶÔ__ASSEMBLY__Õâ¸öºêµÄÅжϣ¬Õâ¸ö±äÁ¿Êµ¼ÊÊÇÔÚ±àÒë»ã±à´úÂëµÄÊ ......
1¡¢²é¿´telentÊÇ·ñ°²×°£ºrpm -q
telnet
[root@localhost root]#rpm -qa Linux telnet
Linux telnet-0.17-25
//Linux&n ......