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

LinuxÈëÃűʼÇÎå

Shell½Å±¾¼°Æä³É·Ö
ShellÊÇÒ»¸ö¹¦ÄÜÇ¿´óµÄ±à³ÌÓïÑÔ¡£ÓÃShell±àдµÄÅú´¦ÀíÎļþ³ÆΪShell½Å±¾¡¢
Shell½Å±¾µÄ³É·Ö
-×¢ÊͲ¿·Ö
 ÒÔ#¿ªÍ·µÄÐÐ
-ÃüÁî
 ÔÚShell½Å±¾ÖпÉÒÔ³öÏÖÈκÎÔÚ½»»¥·½Ê½Ï¿ÉÒÔʹÓõÄÃüÁî
-±äÁ¿
 ¼È¿ÉÒÔʹÓÃÓû§×Ô¶¨ÒåµÄ±äÁ¿£¬Ò²¿ÉÒÔʹÓÃϵͳ»·¾³±äÁ¿
-Á÷³Ì¿ØÖÆ
 ¶ÔÃüÁîµÄÖ´ÐÐÁ÷³Ì½øÐпØÖÆ£¨Ë³Ðò¡¢·ÖÖ§¡¢Ñ­»·£©
Á·Ï°
more /etc/httpd/
vi hello
ls
date
whoami
pwd
date;whoami;pwd
ÔÚhelloÀïдÉÏ
#/bin/bash
#this script is display current user,time and path
#it is display current time
echo "current time is"
date
#it is display current user
echo "current user is"
whoami
#it is display current path
echo "current path is"
pwd
Ö´ÐÐbash hello
Á·Ï°
ls -l
-rwxr-xr--  Root IT    abctxt  
Root ×÷ΪËùÓÐÕß  ¿´Ç°ÈýÏî rwx
Ö´ÐÐchmod u+x hello
ls -l hello
IT   ×÷ΪËùÓÐ×é  ¿´ÖмäÈýÏî r-x
     ÆäËûËùÓÐ×é  ¿´ºóÈýÏî   r--
³£¼ûµÄ»·¾³±äÁ¿
HOME Óû§Ö÷Ŀ¼
PATH ÃüÁîËÑË÷·¾¶
PS1  ÃüÁîÌáʾ·ûºÅ
PWD  Óû§µ±Ç°¹¤×÷·¾¶
SHELL Óû§shellÀàÐÍ
TERM  ÖÕ¶ËÀàÐÍ
LANG  ÓïÑÔ»·¾³
x=abc
echo x
echo $x
x=asdfsaf
echo $x
echo $SHELL
echo $PATH
Ð޸Ļ·¾³±äÁ¿
PATH=$PATH:/root
echo $hello


Ïà¹ØÎĵµ£º

ʹÓà Vmware PlayerÔÚWIndowsÄÚ¹¹½¨Linux»·¾³

1, ÏÂÔØ VMWare Player
http://www.vmware.com/products/player/
¼ò
µ¥×¢²áһϣ¬¾Í¿ÉÒÔÏÂÔØÁË¡£
2£¬ Éú³É VMWare µÄÖÖ×ÓÎļþ
http://www.easyvmx.com/new-easyvmx.shtml
3£¬
ÏÂÔØ ÄãÏëÒªµÄLinux µÄ ISO Îļþ¡£
4£¬ ½âѹËõ 2 ÖÐµÄ VMWareÖÖ×ÓÎļþ£¬ Ë«»÷ÆäÖеÄ
À©Õ¹ÃûΪvmxµÄÎļþ¡£ È»ºóÔÚVMWarePlayer ÖÐ ÉèÖà ......

Linux sockaddr_in¸³Öµ

serv_addr.sin_family=AF_INET;
serv_addr.sin_port=htons(SERVPORT);
inet_pton(AF_INET,"127.0.0.1",&serv_addr.sin_addr);
IPµØַת»»º¯ÊýÓУºinet_pton,inet_addr,inet_aton,inet_ntoa£¬inet_ntop
Ç°Èý¸öÊǽ«ASCII×Ö·ûת»»³ÉÍøÂç×Ö½ÚÐò£»
×îºóÁ½¸öÊǽ«ÍøÂç×Ö½ÚÐòת»»³ÉASCII×Ö·û¡£
ÏÖÔÚÍƼöʹÓÃine ......

LinuxÏÂskype¹úÄÚ¿¨²¦ºÅ·½·¨

TOM-Skype×Ô½ñÄê³õÍƳö¹úÄÚ¿¨³¤»°Í¨·þÎñ£¬ÒÔÆä¸üΪÓÅÖʺ͵ͼ۵ĹúÄÚ³¤Í¾µç»°·þÎñÊÕµ½SkypeÓû§µÄ»¶Ó­¡£µ«Òò³¤»°Í¨·þÎñ±ØÐëÓÃTOM-
SkypeÇÒ°æ±¾ÔÚ3.2ÒÔÉϲÅÄÜʹÓ㬶øTOM-Skype½öÓÐWindows°æ±¾£¬Ã»ÓÐMac¡¢Linux¡¢Windows
MobileµÈ°æ±¾£¬ËùÒԺܶ಻Ը°²×°TOM-SkypeµÄÓû§ÎÞ·¨Ê¹Ó󤻰ͨ·þÎñ¡£
ʵ¼Ê·ÇTOM-SkypeÒ²¿ÉÒÔʹÓùúÄ ......

Linux¿ª»úÁ÷³Ì

1¡¢¼ÓÔØ   BIOS   µÄÓ²¼þÐÅÏ¢£¬²¢È¡µÃµÚÒ»¸ö¿ª»ú×°ÖõĴúºÅ£»  
2¡¢¶ÁÈ¡µÚÒ»¸ö¿ª»ú×°ÖõĠ  MBR   µÄ   boot   Loader   (Ò༴ÊÇ   lilo,   grub,   spfdisk   µÈµÈ)   µÄ¿ª»úÐÅÏ¢£ ......

WindowsXP vs GNU/Linux °²×°

ÔÚÎҵıʼDZ¾¼ÆËã»úÉÏ£¬WindowsXPÅܵÄÔ½À´Ô½Âý£¬ÖÕÓÚϾöÐÄÖØ×°Ò»±é£¬Ï£ÍûÊÇ×îºóÒ»´Î°²×°WindowsXPÁË¡£¿ÉÊÇÓÖ²»Ì«¸ÊÐÄ£¬¾õµÃ»¨µÄʱ¼ä²»Ì«ÖµµÃ£¬²»¹ý£¬×î½ü¾­ÀúÁ˼¸´ÎWindows vs GNU/Linux µÄÕùÂÛ£¬ÓÚÊÇ×Ðϸ¼Ç¼һÏ°²×°¹ý³Ì£¬¿ÉÒÔÓп͹ÛÒ»µãµÄÊý¾Ý×ö±È½Ï¡£
ÎҵıʼDZ¾ÊÇDELL INSPIRON 600m£¬pentium-M 1.5GHz, 40GB Ó²ÅÌ, ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ