Linux³£ÓÃÃüÁî
Ò».Linux½øÈëÓëÍ˳öϵͳ
½øÈëLinuxϵͳ£º
±ØÐëÒªÊäÈëÓû§µÄÕ˺ţ¬ÔÚϵͳ°²×°¹ý³ÌÖпÉÒÔ´´½¨ÒÔÏÂÁ½ÖÖÕʺţº
¡¡¡¡1£®root–³¬¼¶Óû§Õʺţ¨ÏµÍ³¹ÜÀíÔ±£©£¬Ê¹ÓÃÕâ¸öÕʺſÉÒÔÔÚϵͳÖÐ×öÈκÎÊÂÇé¡£
¡¡¡¡2£®ÆÕͨÓû§–Õâ¸öÕʺŹ©ÆÕͨÓû§Ê¹Ó㬿ÉÒÔ½øÐÐÓÐÏ޵IJÙ×÷¡£
¡¡¡¡Ò»°ãµÄLinuxʹÓÃÕß¾ùΪÆÕͨÓû§£¬¶øϵͳ¹ÜÀíÔ±Ò»°ãʹÓ󬼶Óû§ÕʺÅÍê³ÉһЩϵͳ¹ÜÀíµÄ¹¤×÷¡£Èç¹ûÖ»ÐèÒªÍê³ÉһЩÓÉÆÕͨÕʺžÍÄÜÍê³ÉµÄÈÎÎñ£¬½¨Ò鲻ҪʹÓ󬼶Óû§Õʺţ¬ÒÔÃâÎÞÒâÖÐÆÆ»µÏµÍ³¡£Ó°ÏìϵͳµÄÕý³£ÔËÐС£
¡¡¡¡Óû§µÇ¼·ÖÁ½²½£ºµÚÒ»²½£¬ÊäÈëÓû§µÄµÇ¼Ãû£¬ÏµÍ³¸ù¾Ý¸ÃµÇ¼Ãûʶ±ðÓû§£»µÚ¶þ²½£¬ÊäÈëÓû§µÄ¿ÚÁ¸Ã¿ÚÁîÊÇÓû§×Ô¼ºÉèÖõÄÒ»¸ö×Ö·û´®£¬¶ÔÆäËûÓû§ÊDZ£Ãܵģ¬ÊÇÔڵǼʱϵͳÓÃÀ´±æ±ðÕæ¼ÙÓû§µÄ¹Ø¼ü×Ö¡£
¡¡¡¡µ±Óû§ÕýÈ·µØÊäÈëÓû§ÃûºÍ¿ÚÁîºó£¬¾ÍÄܺϷ¨µØ½øÈëϵͳ¡£ÆÁÄ»ÏÔʾ£º
[root@loclhost /root] #
Õâʱ¾Í¿ÉÒÔ¶Ôϵͳ×ö¸÷ÖÖ²Ù×÷ÁË¡£×¢Òⳬ¼¶Óû§µÄÌáʾ·ûÊÇ“#”£¬ÆäËûÓû§µÄÌáʾ·ûÊÇ“$”¡£
Ð޸ĿÚÁî
ΪÁ˸üºÃµÄ±£»¤Óû§Õʺŵݲȫ£¬LinuxÔÊÐíÓû§ËæʱÐÞ¸Ä×Ô¼ºµÄ¿ÚÁÐ޸ĿÚÁîµÄÃüÁîÊÇpasswd£¬Ëü½«ÌáʾÓû§ÊäÈë¾É¿ÚÁîºÍпÚÁ֮ºó»¹ÒªÇóÓû§ÔÙ´ÎÈ·ÈÏпÚÁÒÔ±ÜÃâÓû§ÎÞÒâÖа´´í¼ü¡£Èç¹ûÓû§Íü¼ÇÁË¿ÚÁ¿ÉÒÔÏòϵͳ¹ÜÀíÔ±ÉêÇëΪ×Ô¼ºÖØÐÂÉèÖÃÒ»¸ö¡£
ÐéÄâ¿ØÖÆ̨
LinuxÊÇÒ»¸öÕæÕýµÄ¶àÓû§²Ù×÷ϵͳ£¬Ëü¿ÉÒÔͬʱ½ÓÊܶà¸öÓû§µÇ¼¡£Linux»¹ÔÊÐíÒ»¸öÓû§½øÐжà´ÎµÇ¼£¬ÕâÊÇÒòΪLinuxºÍUNIXÒ»Ñù£¬ÌṩÁËÐéÄâ¿ØÖÆ̨µÄ·ÃÎÊ·½Ê½£¬ÔÊÐíÓû§ÔÚͬһʱ¼ä´Ó¿ØÖÆ̨½øÐжà´ÎµÇ¼¡£ÐéÄâ¿ØÖÆ̨µÄÑ¡Ôñ¿ÉÒÔͨ¹ý°´ÏÂAlt¼üºÍÒ»¸ö¹¦ÄܼüÀ´ÊµÏÖ£¬Í¨³£Ê¹ÓÃF1-F6ÀýÈ磬Óû§µÇ¼ºó£¬°´Ò»ÏÂAlt-F2¼ü£¬Óû§ÓÖ¿ÉÒÔ¿´µ½login:Ìáʾ·û£¬ËµÃ÷Óû§¿´µ½Á˵ڶþ¸öÐéÄâ¿ØÖÆ̨¡£È»ºóÖ»Ðè°´Alt-F1¼ü£¬¾Í¿ÉÒԻص½µÚÒ»¸öÐéÄâ¿ØÖÆ̨¡£ Ò»¸öа²×°µÄLinuxϵͳĬÈÏÔÊÐíÓû§Ê¹ÓÃAlt-F1µ½Alt-F6¼üÀ´·ÃÎÊÇ°Áù¸öÐéÄâ¿ØÖÆ̨¡£ÐéÄâ¿ØÖÆ̨¿ÉʹÓû§Í¬Ê±ÔÚ¶à¸ö¿ØÖÆ̨ÉϹ¤×÷£¬ÕæÕýÌåÏÖLinuxϵͳ¶àÓû§µÄÌØÐÔ¡£Óû§¿ÉÒÔÔÚijһÐéÄâ¿ØÖÆ̨ÉϽøÐеŤ×÷ÉÐδ½áÊøʱ£¬Çл»µ½ÁíÒ»ÐéÄâ¿ØÖÆ̨¿ªÊ¼ÁíÒ»Ï×÷¡£
Í˳öϵͳ
²»ÂÛÊdz¬¼¶Óû§£¬»¹ÊÇÆÕͨÓû§£¬ÐèÒªÍ˳öϵͳʱ£¬ÔÚshellÌáʾ·ûÏ£¬¼üÈëexitÃüÁî»òlogoutÃüÁî¼´¿É¡£
¶þ¡¢LinuxÎļþµÄ¸´ÖÆ¡¢É¾³ýºÍÒƶ¯ÃüÁî
£±¡¢cpÃüÁî
¹¦ÄÜ£º¸ÃÃüÁîµÄ¹¦ÄÜÊǽ«¸ø³öµÄÎļþ»òĿ¼¿½±´µ½ÁíÒ»Îļþ»òĿ¼ÖУ¬Í¬MSDOSϵÄcopyÃüÁîÒ»Ñù£¬¹¦ÄÜÊ®·ÖÇ¿´ó¡£
Óï·¨£
Ïà¹ØÎĵµ£º
Linux, named after the inventor, Linus Torvalds, is a so different OS for everyone against Windows. To everyone who used to use Windows, Linux need us to do more for everything which we usually do by computer, such as playing a video.
Someone says, Linux is for the ones who are good at the computer ......
1. װϵͳ
ÎÒ×°µÄ˫ϵͳ£¬Windows 7 ºÍ Fedora 12.
1£©ÎÒµÄCÅÌÓÐ50GB£¬ËùÒÔÎÒÏÈ·ÖÁËÇø£¬·Ö³É3¸ö£¬1¸ö30GB£¬1¸ö15GB£¬Ê£ÏµÄÒ»¸öÇø3GB¡£
2£©ÏÈ×°Windows 7ÔÚ30GBµÄ·ÖÇø¡£
P£ºSonyµÄÐͺÅVGN-NR120EºÜ±ä̬£¬°²×°µÄʱºò±ØÐëÒªÓÃ×îв¹¶¡µÄ°²×°Å̲ſÉÒÔÇý¶¯µ½Ó²ÅÌ£¨µ¼Ö²»ÄÜ×°XP£©£¬¿ÉÄÜÊÇHDD ......
ÍøÉϹØÓÚfork()ÎÄÕ¶¼Ëµfork()À´´´½¨×Ó½ø³Ì,ÀûÓ÷µ»ØÖµµÄ²»Í¬À´Ö´Ðв»Í¬µÄ´úÂð¶Î.µ«¶¼Ã»ÓÐ˵µ½ÈçºÎʵÏÖ²»Í¬µÄ·µ»ØÖµ.ÏÂÃæÎÒ½«ºÍÄãÀ´ËµËµÕâ¸öÎÊ題:
¿¼ÂÇÈçÏ´úÂë:
int &nb ......
ÔÚLinuxϵͳÖУ¬¼¸ºõËùÓеÄÓ²¼þ×°ÖôúºÅµµ°¸¶¼ÔÚ/devÕâ¸öĿ¼ÖУ¬
Èç
IDEÓ²ÅÌ£º/dev/hd[a-d]
¹âÇý£º/dev/cdrom
ÈíÅÌ£º/dev/fd[0-1]
Êó±ê£º/dev/mouse
´òÓ¡»ú£º/dev/lp[0-2]
USBËæÉíµú£¬SCSIÓ²ÅÌ£º/dev/sd[a-p]
Íø¿¨£º/dev/eth[0-n]
RAID : /dev/md[0-15]
Ö÷»úÓ²Å̵ÄÖ÷Òª¹æ»®£º
1. ×î¼òµ¥µÄÇи·¨£º Li ......
uname -a
cat /proc/version
cat /etc/issue
lsb_release -a (ÊÊÓÃÓÚËùÓеÄlinux£¬°üÀ¨Redhat¡¢SuSE¡¢DebianµÈ·¢Ðа棬µ«ÊÇÔÚdebianÏÂÒª°²×°lsb£¬²»°²×°¼ÓÉÏ£a²ÎÊý²é¿´²¿·Ö)
È磺
·¢Ðа棺
# cat /etc/issue
Äںˣº
# uname -r
......