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

LinuxÈëÃűʼÇËÄ

1.Vi¼°ÆäÔËÐÐģʽ
ViÊÇ“Visual interface”µÄ¼ò³Æ¡£¿ÉÒÔÖ´ÐÐÊä³ö¡¢É¾³ý¡¢²éÕÒ¡¢Ìæ»»¡¢¿é²Ù×÷µÈÖÚ¶àÎı¾²Ù×÷
Á·Ï°
cp /etc/passwd  /tmp/   ¿½±´Ò»¸öÎļþ
Á¬Ðø°´dd  ¿ÉÒÔɾ³ýÒ»ÐÐ
Á¬Ðø°´oo  ¿ÉÒÔ²åÈëÒ»ÐÐ
°´Ò»¸öO   ¿ÉÒÔÔÚ¹â±êÉÏÃæ²åÈëÒ»ÐÐ
2.Öض¨Ïò
±ê×¼ÊäÈë¡¢Êä³ö
Stdin
stdout
stderr
Êä³öÖض¨Ïò
> ¡¢>>
´íÎóÊä³öÖض¨Ïò
2>¡¢&>
ÊäÈëÖض¨Ïò< ¡¢ <<!.............!
Á·Ï°
echo »ØÏÔµ½ÆÁÄ»ÉÏ
echo 243124 123asdfa >/tmp/aa   (Öض¨ÏòÊä³öµ½ÎļþÖÐ)
echo 23123123  >> /tmp/aa       (×·¼ÓÊäÈëµ½ÎļþÖÐ)
echo 3423 > /tmp/aa             (»á¸²¸Çµô)
3.¹ÜµÀ£º½«Ò»¸öÃüÁîµÄÊä³ö´«Ë͸øÁíÒ»¸öÃüÁ×÷ΪÁíÒ»¸öÃüÁîµÄÊäÈë
 
ʹÓ÷½·¨£º
ÃüÁî1|ÃüÁî2|ÃüÁî3.......|ÃüÁîn
Ç°Ò»¸öÃüÁîµÄÊä³ö×÷ΪºóÒ»¸öÃüÁîµÄÊäÈë
Á·Ï°
dmesg |grep eth0   Æô¶¯ÐÅÏ¢Êä³ö|ÏÔʾº¬ÓÐeth0µÄ²¿·Ö
ls -la |more       ÏÔʾËùÓÐÎı¾Îļþ|·ÖÆÁÏÔʾ
ps -aux |grep sshd           ÏÔʾÓû§µÄËùÓнø³Ì|ÏÔʾº¬ÓÐsshd½ø³Ì
4.ÃüÁî´úÌæ
cmd1 `cmd2 argument` »òÕß cmd1 $(cmd2 argument)
ºóÒ»¸öÃüÁîµÄÊä³ö×÷Ϊǰһ¸öÃüÁîµÄÊäÈë
Á·Ï°
wall hello (·¢Ò»¾ä»°)
wall date (·¢ÁËÒ»¸öµ¥´Ê)
wall `date`  (·¢³öÒ»¸öʱ¼äÖµ)
5.×÷Òµ¿ØÖÆ
ÊÇ¿ØÖƵ±Ç°ÕýÔÚÔËÐеĽø³ÌµÄÐÐΪ£¬Ò²±»³ÆΪ½ø³Ì¿ØÖÆ
¡¶ctr+d¡·¼ü:ÖÕÖ¹Ò»¸öÕýÔÚǰ̨ÔËÐеĽø³Ì£¨º¬ÓÐÕý³£º¬Ò壩
¡¶ctr+c¡·¼ü£ºÖÕÖ¹Ò»¸öÕýÔÚǰ̨ÔËÐеĽø³Ì£¨º¬ÓÐÇ¿Ðк¬Ò壩
¡¶ctr+z¡·¼ü£º¹ÒÆðÒ»¸öÕýÔÚǰ̨ÔËÐеĽø³Ì
 bg:ÔÚºǫ́»Ö¸´ÔËÐÐÒ»¸ö±»¹ÒÆðµÄ½ø³Ì
 fg:ÔÚǰ̨»Ö¸´ÔËÐÐÒ»¸ö±»¹ÒÆðµÄ½ø³Ì
 jobs:ÏÔʾºǫ́×÷ÒµºÍ±»¹ÒÆðµÄ½ø³Ì
Á·Ï°£º
ping 192.168.1.101
jobs
ps  ²é¿´½ø³ÌºÅ
kill -9 3991 ½áÊøµôij¸ö½ø³Ì £¨3991£©½ø³ÌºÅ
ps -aux |grep login
kill -9 xxxx (xxxxµÇ¼µÄ½ø³ÌºÅ)
service httpd start  Æô¶¯Ä³¸ö·þÎñ
service httpd stop   ֹͣij¸ö·þÎñ


Ïà¹ØÎĵµ£º

linux³õѧ֮ËöËé֪ʶµãÕûÀíÒ»

 linuxÎļþϵͳ·ÖÅä²ßÂÔ£º
¿é·ÖÅä( block allocation )£º´ÅÅÌÉϵÄÎļþ¿é¸ù¾ÝÐèÒª·ÖÅä¸øÎļþ£¬±ÜÃâÁË´æ´¢¿Õ¼äµÄÀË·Ñ¡£µ«µ±ÎļþÀ©³äʱ£¬»áÔì³ÉÎļþÖÐÎļþ¿éµÄ²»Á¬Ðø£¬´Ó¶øµ¼Ö¹ý¶àµÄ´ÅÅÌÑ°µÀʱ¼ä¡£Ã¿Ò»´ÎÎļþÀ©Õ¹Ê±£¬¿é·ÖÅäËã·¨¾ÍÐèҪдÈëÎļþ¿éµÄ½á¹¹ÐÅÏ¢£¬Ò²¾ÍÊÇ meta-dada ¡£meta-data×ÜÊÇÓëÎļþÒ»ÆðдÈë´æ´¢É豸£¬¸ ......

Red Hat Enterprise linux 5ÅäÖÃVPN·þÎñÆ÷¶ËÐÂÊÖÉÏ·


Red Hat Enterprise linux 5ÅäÖÃVPN·þÎñÆ÷¶ËÐÂÊÖÉÏ·
1.×¼±¸¶¯×÷,ʹÓÃÏÂÃæµÄÃüÁîÏÂÔØÐèÒªµÄ°²×°Îļþ¡£(ĬÈϵĴæ·ÅλÖÃÓ¦¸ÃÊÇ/home
/admin)
wget http://poptop.sourceforge.net/yum/stable/packages/dkms-2.0.17.5-1.noarch.rpm
wget
http://poptop.sourceforge.net/yum/stable/packages/kernel_ppp_mppe-1.0.2-3dk ......

LinuxÏÂCÓïÑÔ±à³Ì ʱ¼ä¸ÅÄî

ÕâÒ»ÕÂÎÒÃÇѧϰLinuxµÄʱ¼ä±íʾºÍ¼ÆË㺯Êý 
1.ʱ¼äµÄ±íʾ 
2.ʱ¼äµÄ²âÁ¿ 
3.¼ÆʱÆ÷µÄʹÓà
--------------------------------------------------------------------------------
1¡£Ê±¼ä±íʾ     ÔÚ³ÌÐòµ±ÖÐ,ÎÒÃǾ­³£ÒªÊä³öϵͳµ±Ç°µÄʱ¼ä,±ÈÈçÎÒÃÇʹÓÃdateÃüÁîµÄÊ ......

È¥µô embedded LINUX ¿ª»ú¹â±êÒÔ¼°ÉèÖà Æô¶¯LOGO

Ò».È¥³ýembedded linux µÄ¿ª»ú¹â±ê:
¡¡ÔÚÄں˵ĵ±Ç°Ä¿Â¼½øÈëµ½drivers/video/console/fbcon.cÎļþ
¡¡½«static void fb_flashcursor(void *private) ÀïµÄÄÚÈÝ×¢Ê͵ô,ʹ֮±ä³É¿Õº¯Êý
¶þ.ÉèÖÃLINUXÄÚºËÆô¶¯LOGO
     (1)ÈÃÄÚºËÖ§³ÖÆô¶¯LOGO
        ÔÚÄÚºËĿ¼ÖÐ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ