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

linuxѧϰ±Ê¼Ç

µã»÷²Ëµ¥“ÐéÄâ»ú”--Install VMware Tools
ÔÚred hat×ÀÃæÓÒ»÷konsole
ÊäÈëÃüÁcd/media
          ls
          ÒªÏÈË«»÷VMware ToolsÔÙÊäÈëÃüÁîÖ±µ½³öÏÖVMware Toolsi
ÔÙÊäÈëÃüÁcd VM*
            ls
            rpm -ivh VMwareTools-6.5.0-118166.i386.rpm(ºóÃæµÄÒ»´ó´®¿ÉÒÔ¸´ÖÆÉÏÃæµÄºìÉ«ÎÄ×Ö)
³É¹¦Ö®ºóÊäÈ룺command /usr/bin/vmware-config-tools.pl
             y
³É¹¦×°ÍêÐèÖØÆô
            
********************************************************
GNOMEºÍKDE
c:/windows
c:/windows/system32
/bin¸ùĿ¼
/bootϵͳÆô¶¯ÐèÒªµÄÎļþ
/dev deviceÉ豸£¨É豸µ±³ÉÎļþ¿´´ý£©
/etc ÅäÖÃÐÅÏ¢
/home Ò»°ãÓû§Ä¿Â¼
/lib ÀïÃæÏ൱Óڼܰü
/lost+fount ËéƬÎļþ
/media °²×°ºÃµÄ¹âÅÌ·ÅÔÚmediaĿ¼Ï»òÕßmntĿ¼Ï£¨ÒòΪûÓÐÅÌ·ûµÄ¸ÅÄ
/proc ½ø³ÌÐÅÏ¢
/root ³¬¼¶Óû§Ö÷Ŀ¼
/sbin £¨super£©³¬¼¶¹ÜÀíÔ±Ö´ÐеijÌÐò·ÅÔÚ´ËĿ¼
/temp ´æ·ÅÁÙʱÎļþ
/usr ÀàËÆÓÚcÅÌprogram file£¨°²×°³ÌÐò£©
ûÓÐͼÐνçÃ棺°²È«ºÍÐÔÄÜÓÐËùÌá¸ß
ÃüÁ
Ö÷Îļþ¼Ð--¸ùĿ¼--etc--inittab´ò¿ª°Ñid£º5initdefault£º¸ÄΪ3¾ÍûÓÐͼÐνçÃæ--±£´æ--ÖØÐÂÆô¶¯
startx½øÈëͼÐνçÃæ
ÓÒ»÷--´ò¿ªÖÕ¶Ë
date µ±Ç°ÈÕÆÚ
time ÔËÐÐʱ¼ä
ls ÏÔʾµ±Ç°Ä¿Â¼£¨¸ø²ÎÊý¸Ä±äÏÔʾ·½Ê½£©
ls -a  ¿ÉÒÔ¿´µ½Òþ²ØµÄĿ¼
*********************************************************
Îļþ¹ÜÀí
pwd£¨primary work direction²é¿´µ±Ç°¹¤×÷Ŀ¼£©
ls ÏÔʾµ±Ç°Ä¿Â¼£¨¸ø²ÎÊý¸Ä±äÏÔʾ·½Ê½£©
ls -a  ¿ÉÒÔ¿´µ½Òþ²ØµÄĿ¼£¨ÏÔʾȫ²¿µÄÎļþ£©
ls --help°ïÖú
ls -l  ÏÔʾ³ÉÌض¨¸ñʽ
ls i*
cp cp install.log /  ¿½±´µ½¸ùĿ¼
mv install.log /Òƶ¯µ½¸ùĿ¼
cp copy
mv move    mv --help
rm 1
y  (yes) È·¶¨É¾³ý
man ls
rpm -ivh ÎļþÃû³Æ   ¹¦ÄÜ£º°²×°Èí¼þ
———————————&


Ïà¹ØÎĵµ£º

ʵսLinux Bluetooth±à³Ì(Áù) L2CAP±à³ÌʵÀý

ÀýÒ»£º·¢ËÍSignaling Packet£º
Signaling CommandÊÇ2¸öBluetoothʵÌåÖ®¼äµÄL2CAP²ãÃüÁî´«Êä¡£ËùÒÔµÃSignaling CommandʹÓÃCID 0x0001.
¶à¸öCommand¿ÉÒÔÔÚÒ»¸öC-frame£¨control frame£©Öз¢ËÍ¡£
 Èç¹ûÒªÖ±½Ó·¢ËÍSignaling Command.ÐèÒª½¨Á¢SOCK_RAWÀàÐ͵ÄL2CAPÁ¬½ÓSocket¡£ÕâÑù²ÅÓлú»á×Ô¼ºÌî³äCommand Code£¬Identi ......

LinuxÄÚ´æ¹ÜÀíÖ®slab·ÖÅäÆ÷·ÖÎö(ÐøÈý)

Áù£ºkmem_cache_allocµÄʵÏÖ·ÖÎö:
ÎÒÃÇÔÚÉÏÃæ¿ÉÒÔ¿´µ½£¬´´½¨Ò»¸öcacheÃèÊö·ûµÄʱºò£¬²¢Ã»ÓÐÕâÖ®·ÖÅäslabÊý¾Ý¡£ÏÖÔÚÎÒÃÇÀ´¿´Ò»ÏÂÔõô´ÓcacheÖÐÉêÇë¶ÔÏó
void * kmem_cache_alloc (kmem_cache_t *cachep, int flags)
{
     return __cache_alloc(cachep, flags);
}
ʵ¼ÊÉÏ»áµ÷ÓÃ__cache_allo ......

LinuxÏ c ÅжÏÒ»¸öÎļþÊÇ·ñ´æÔÚ

#include <stdio.h>
#include <unistd.h>
#define FOO "foo"
int main(void)
{
if(!access(FOO, F_OK))
{
if(!unlink(FOO))
{

}
else
{
printf("remove %s failed\n", FOO);
}
}
else
{
printf("%s not existed\ ......

Linux NFS ʹÓÃ×ܽá

 1.       ·þÎñÆ÷nfsµÄÅäÖÃ
2.       ¿Í»§¶ËnfsµÄÅäÖÃ
3.       ʹÓÃnfs
3.1 ×÷Ϊ¹²ÏíÎļþϵͳmount
3.2 ×÷Ϊ¸ùÎļþϵͳmount
4.±¸ ×¢
nfsÊÇNetwork File System£¬»ùÓÚRPC(Remote Procedure Call ProtocolÔ¶³Ì¹ý³Ìµ ......

linuxϱØÐëÕÆÎÕµÄÃüÁî

1 cron
 
ÒÔÏ£¬ÊÇctontabµÄ¸ñʽ£º
·Ö<>ʱ<>ÈÕ<>ÔÂ<>ÐÇÆÚ<>ÒªÔËÐеÄÃüÁî
ÆäÖÐ<>±íʾ¿Õ¸ñ¡£
ÕâÀïÓÐc r o n t a bÎļþÌõÄ¿µÄһЩÀý×Ó£º
30 21* * * /apps/bin/cleanup.sh
ÉÏÃæµÄÀý×Ó±íʾÿÍíµÄ2 1 : 3 0ÔËÐÐ/ a p p s / b i nĿ¼ÏµÄc l e a n u p . s h¡£
45 4 1,10,22 * ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ