LinuxѧϰÔÓ¼Ç
1. find ÔÚÌض¨µÄĿ¼ÏÂËÑË÷²¢ÏÔʾָ¶¨Ãû³ÆµÄÎļþºÍĿ¼
ËÑË÷Ò»¶Îʱ¼äÄÚ±»´æÈ¡/±ä¸üµÄÎļþ»òĿ¼
find /home -admin -10 Ê®·ÖÖÓÄÚ´æÈ¡µÄÎļþ»òĿ¼
find /home -atime -10 Ê®¸öСʱÄÚ´æÈ¡µÄÎļþ»òĿ¼
find /home -cmin -10 Ê®·ÖÖÓÄÚ¸ü¸Ä¹ýµÄÎļþ»òĿ¼
find /home -ctime +10 ʮСʱǰ¸ü¸Ä¹ýµÄÎļþ»òĿ¼
find -size +1000000k ²éÕÒ´óСΪ1000000kµÄÎļþ
2. µ±°´Ctrl+z°Ñ½ø³Ì¹ÒÆðʱ»òÔÚÖ´ÐÐʱÓÃÁË&ʱ£¬µ±Òª°ÑÕâЩºǫ́µÄ½ø³Ì·Åµ½
ǰִ̨ÐÐʱ¿ÉÒÔÓÃjobs -l²é¿´µ±Ç°ºǫִ́ÐеijÌÐò£¬jobs -lp²é¿´µ±Ç°µÄ½ø³ÌµÄ
±àºÅ¡£ÓÃkill -9 ±àºÅ¼´¿ÉɱËÀ½ø³Ì¡£
fg »òÕß bg¿É½øÐÐÇ°ºǫ́ת±ä
3. alias±ðÃûµÄʹÓÃ
alias llh='ls -la | more'
È¡Ïû±ðÃûunalias llh
4. runlevel²é¿´µ±Ç°ÏµÍ³ÏµÍ³ÔËÐ춱ð
5. df -h ²é¿´Ó²ÅÌʹÓÃÇé¿ö
6. rpm -e --nodeps samba ûÓÐÒÀÀµµÄɾ³ýsamba £¨²»µ½ÆȲ»µÃÒѱðÓã©
samba²Ù×÷
´´½¨Ò»¸öÓû§²¢ÉèÖÃÃÜÂë
useradd cywosp
passwd cywosp
°Ñ»úÆ÷ÉϵÄËùÓÐÓû§Ìí¼Óµ½sambaÓû§ÖÐ
cat /etc/passwd | mksmbpasswd.sh > /etc/samba/smbpasswd
ΪcywospÌí¼ÓsambaÃÜÂë
smbpasswd cywosp
½ø³Ì£º Æäʵ¾ÍÊÇÕýÔÚÖ´ÐеijÌÐò
Ị̈߳º
£¨1£©ÇáÁ¿¼¶µÄ½ø³Ì
£¨2£©½ø³ÌÓжÀÁ¢µÄµØÖ·¿Õ¼ä£¬Ïß³ÌûÓÐ
£¨3£©Ï̲߳»ÄܶÀÁ¢´æÔÚ£¬ËüÊÇÓɽø³Ì´´½¨¡££¨fork£©Thread
(4) Ïà¶ÔÀ´½²£¬Ï̺߳ķѵÄcpuºÍÄÚ´æСÓÚ½ø³Ì
7. top ÃüÁîµÄʹÓÃ
²é¿´cpuºÍÄÚ´æµÄʹÓÃ
top -d 10Ê®ÃëË¢ÐÂÒ»´Î
½øÈëÖ®ºó°´uÔÙÊäÈëµÄÄãÏëÒª²é¿´µÄÓû§
8. cal ÏÔʾÈÕÀú
cal 2010ÏÔʾËùÓÐ2010ÄêµÄÈÕÀú
9. netstat ÏÔʾÕû¸öϵͳĿǰµÄÍøÂçÇé¿ö¡£ÀýÈçÄ¿Ç°µÄÁ´½Ó
Êý¾Ý°ü´«µÝÊý¾Ý¡¢»òÊÇ·ÓɱíµÄÄÚÈÝ¡£
netstat -anp an±íʾ°´Ò»¶¨µÄ˳ÐòÅÅÐò pÏÔʾ½ø³ÌºÅ
10. traceroute www.google.com²é¿´µ½google·þÎñÆ÷µÄËùÓзÓÉ
11. route ²é¿´Â·ÓÉ
12. MySQLµÄ°²×°
1£©°Ñ°²×°Îļþ¿½±´µ½homeĿ¼ÏÂ
2£©tar -zxvf ÎļþÃû.tar.gz
3) groupadd m
Ïà¹ØÎĵµ£º
£¨L2CAPÐÒé¼ò½é£¬L2CAPÔÚBlueZÖеÄʵÏÖÒÔ¼°L2CAP±à³Ì½Ó¿Ú£©
Ò»£ºL2CAPÐÒé¼ò½é£º
Logical Link Control and Adaptation Protocol(L2CAP)
Âß¼Á¬½Ó¿ØÖƺÍÊÊÅäÐÒé (L2CAP) ΪÉϲãÐÒéÌṩÃæÏòÁ¬½ÓºÍÎÞÁ¬½ÓµÄÊý¾Ý·þÎñ£¬²¢Ìṩ¶àÐÒ鹦ÄܺͷָîÖØ×é²Ù×÷¡£L2CAP ³äÐíÉϲãÐÒéºÍÓ¦ÓÃÈí¼þ´«ÊäºÍ½ÓÊÕ×î´ó³¤¶ÈΪ 64K µÄ L2CAP Ê ......
ÔÚlinuxÏÂÃæ°²×°mysql£¬Ê×ÏàÒª¸ù¾Ý²Ù×÷ϵͳµÄ°æ±¾£¬Ñ¡Ôñ¶ÔÓ¦µÄmysqlµÄ°æ±¾£¬¹Ù·½ÍøÕ¾ÉÏÓзdz£Ã÷È·µÄ·ÖÀà
http://dev.mysql.com/downloads/
ÔÚÕâÀïÎÒʵÑéµÄ²Ù×÷ϵͳÊÇredhat linux
mysql ÓÃÁËÁ½¸ö°²×°°ü£¬Ò»¸öÊÇserver¶Ë£¬Ò»¸öÊÇclient,ÎÒÓõÄÊÇrpm°ü£¬°²×°µÄÖ¸Áî±È½Ï¼òµ¥¡£
MySQL-server-community-5.1.42-0.rhel4.i38 ......
Linuxϵͳµ÷ÓÃ--accessº¯ÊýÏê½â
2007-07-30 23:10
¡¾accessϵͳµ÷Óá¿
¹¦ÄÜÃèÊö£º
¼ì²éµ÷Óýø³ÌÊÇ·ñ¿ÉÒÔ¶ÔÖ¸¶¨µÄÎļþÖ´ÐÐijÖÖ²Ù×÷¡£
Ó÷¨£º
#include <unistd.h>
#include <fcntl.h>
int access(const char *pathname, int mode);
²ÎÊý£º
pathn ......
http://blog.csdn.net/lzysystem/archive/2009/03/05/3960853.aspx
http://www.linuxidc.com/Linux/2009-06/20390.htm
http://www.linuxdiyf.com/viewarticle.php?id=163893
http://blog.sina.com.cn/s/blog_4ed66efa0100gfjx.html### ......
1¡¢ÓÉÓÚorcale10²»Ö§³Ö redhat as5 ÐèÒªÐÞ¸Ä/etc/redhat-realease ½« Red
Hat Enterprise Linux Server release 5 (Tikanga) ¸ÄΪRed Hat Enterprise
Linux Server release 4 (Tikanga) £¬°²×°Íê³ÉºóÔÙ½«ÆäÐ޸ĻØÀ´
2¡¢ÐÞ¸Ä/etc/hosts Îļþ½«127.0.0.1¸ÄΪ±¾»úIPµØÖ· ·ñÔòÍøÂç¼ì²éͨ²»¹ý
3¡¢¼ì² ......