Linux±ØѧµÄ60¸öÃüÁî
LinuxÌṩÁË´óÁ¿µÄÃüÁÀûÓÃËü¿ÉÒÔÓÐЧµØÍê³É´óÁ¿µÄ¹¤
×÷£¬Èç´ÅÅ̲Ù×÷¡¢Îļþ´æÈ¡¡¢Ä¿Â¼²Ù×÷¡¢½ø³Ì¹ÜÀí¡¢ÎļþȨÏÞÉ趨µÈ¡£ËùÒÔ£¬ÔÚLinuxϵͳÉϹ¤×÷Àë²»¿ªÊ¹ÓÃϵͳÌṩµÄÃüÁî¡£ÒªÏëÕæÕýÀí½âLinuxϵͳ£¬
¾Í±ØÐë´ÓLinuxÃüÁîѧÆð£¬Í¨¹ý»ù´¡µÄÃüÁîѧϰ¿ÉÒÔ½øÒ»²½Àí½âLinuxϵͳ¡£
²»Í¬Linux·¢ÐаæµÄÃüÁîÊýÁ¿²»Ò»Ñù£¬µ«Linux·¢Ðа汾×îÉÙµÄÃüÁîÒ²ÓÐ200¶à¸ö¡£ÕâÀï±ÊÕ߰ѱȽÏÖØÒªºÍʹÓÃƵÂÊ×î¶àµÄÃüÁ°´ÕÕËüÃÇÔÚϵͳÖеÄ×÷Ó÷ֳÉÏÂÃæÁù¸ö²¿·ÖÒ»Ò»½éÉÜ¡£
¡ô °²×°ºÍµÇ¼ÃüÁ
login¡¢shutdown¡¢halt¡¢reboot¡¢install¡¢mount¡¢umount¡¢chsh¡¢exit¡¢last£»
¡ô Îļþ´¦ÀíÃüÁ
file¡¢mkdir¡¢grep¡¢dd¡¢find¡¢mv¡¢ls¡¢diff¡¢cat¡¢ln£»
¡ô ϵͳ¹ÜÀíÏà¹ØÃüÁ
df¡¢top¡¢free¡¢quota¡¢at¡¢lp¡¢adduser¡¢groupadd¡¢kill¡¢crontab£»
¡ô ÍøÂç²Ù×÷ÃüÁ
ifconfig¡¢ip¡¢ping¡¢netstat¡¢telnet¡¢ftp¡¢route¡¢rlogin¡¢rcp¡¢finger¡¢mail¡¢ nslookup£»
¡ô ϵͳ°²È«Ïà¹ØÃüÁ
passwd¡¢su¡¢umask¡¢chgrp¡¢chmod¡¢chown¡¢chattr¡¢sudo ps¡¢who£»
¡ô ÆäËüÃüÁ
tar¡¢unzip¡¢gunzip¡¢unarj¡¢mtools¡¢man¡¢unendcode¡¢uudecode¡£
±¾ÎÄÒÔMandrake Linux 9.1(Kenrel 2.4.21)ΪÀý£¬½éÉÜLinuxϵݲװºÍµÇ¼ÃüÁî¡£
immortality°´£º
ÇëÓÃctrl+fÔÚ±¾Ò³ÖвéÕÒijһ²¿·ÖµÄÄÚÈÝ»òijһÃüÁîµÄÓ÷¨¡£
Linux±ØѧµÄ60¸öÃüÁî(1)-°²×°ÓëµÇ½ÃüÁî
login
1.×÷ÓÃ
loginµÄ×÷ÓÃÊǵǼϵͳ£¬ËüµÄʹÓÃȨÏÞÊÇËùÓÐÓû§¡£
2.¸ñʽ
login [name][£p ][£h Ö÷»úÃû³Æ]
3.Ö÷Òª²ÎÊý
£p:֪ͨlogin±£³ÖÏÖÔڵĻ·¾³²ÎÊý¡£
£h:ÓÃÀ´ÏòÔ¶³ÌµÇ¼µÄÖ®¼ä´«ÊäÓû§Ãû¡£
Èç¹ûÑ¡ÔñÓÃÃüÁîÐÐģʽµÇ¼LinuxµÄ»°£¬ÄÇô¿´µ½µÄµÚÒ»¸öLinuxÃüÁî¾ÍÊÇlogin£º¡£
Ò»°ã½çÃæÊÇÕâÑùµÄ£º
Manddrake Linux release 9.1(Bamboo) for i586
renrel 2.4.21£0.13mdk on i686 / tty1
localhost login:root
password:
ÉÏÃæ´úÂëÖУ¬µÚÒ»ÐÐÊÇLinux·¢Ðа汾ºÅ£¬µÚ¶þÐÐÊÇÄں˰汾ºÅºÍµÇ¼µÄÐéÄâ¿ØÖÆ̨£¬ÎÒÃÇÔÚµÚÈýÐÐÊäÈëµÇ¼Ãû£¬°´“Enter”¼üÔÚPasswordºóÊäÈëÕË»§ÃÜÂ룬¼´¿ÉµÇ¼ϵͳ¡£³öÓÚ°²È«¿¼ÂÇ£¬ÊäÈëÕË»§ÃÜÂëʱ×Ö·û²»»áÔÚÆÁÄ»ÉÏ»ØÏÔ£¬¹â±êÒ²²»Òƶ¯¡£
µÇ¼ºó»á¿´µ½ÏÂÃæÕâ¸ö½çÃ棨ÒÔ³¬¼¶Óû§ÎªÀý£©£º
[root@localhost root]#
last login:Tue ,Nov 18 10:00:55 on vc/1
ÉÏÃæÏÔʾµÄÊǵǼÐÇÆÚ¡¢Ô¡¢ÈÕ¡¢Ê±¼äºÍʹÓõÄÐéÄâ¿ØÖÆ̨¡£
4.Ó¦Óü¼ÇÉ
Linux
ÊÇÒ»¸öÕæÕýµÄ¶àÓû§²Ù×÷ϵͳ£¬¿ÉÒÔͬʱ½ÓÊܶà¸öÓ
Ïà¹ØÎĵµ£º
½ñÌìfedora¹ÒÁË£¬ÎªÁ˱¸·ÝÊý¾ÝÓÃubuntuµÄlivecdÀ´½øÐÐÊý¾Ý±¸·Ý£¬´ÓÍøÉÏ¿´µ½ÁËһƪÌû×Ó£¬
http://www.linux-sxs.org/storage/fedora2ubuntu.html
½â¾öÁËÎÊÌâ
ÄÚÈÝÈçÏ£º
Boot Ubuntu.
Install lvm2:
$ sudo apt-get install lvm2
Load the necessary module(s):
$ sudo modprobe dm-mod
Scan your system for LVM v ......
ddÃüÁî
°ÑÖ¸¶¨µÄÊäÈëÎļþ¿½±´µ½Ö¸¶¨µÄÊä³öÎļþÖУ¬²¢ÇÒÔÚ¿½±´µÄ¹ý³ÌÖпÉÒÔ½øÐиñʽת»»¡£Óï·¨£º
CODE:[Copy to clipboard]dd ¡²Ñ¡Ï
QUOTE:
if =ÊäÈëÎļþ£¨»òÉ豸Ãû³Æ£©¡£
of =Êä³öÎļþ£¨»òÉ豸Ãû³Æ£©¡£
ibs = bytes Ò»´Î¶ÁÈ¡bytes×Ö½Ú£¬¼´¶ÁÈ뻺³åÇøµÄ×Ö½ÚÊý¡£
skip = blocks Ìø¹ý¶ÁÈ뻺³åÇø¿ªÍ·µÄibs*blo ......
ÔÚÒ»¸ö³ÌÐò±ÀÀ£Ê±£¬Ä¬ÈÏÇé¿öÏÂÊDz»²úÉúcoreÎļþ¡£
ÏÂÃæµÄÃüÁî¿ÉÒÔ¼ì²éÉú³ÉcoreÎļþµÄÑ¡ÏîÊÇ·ñ´ò¿ª:
$ulimit -a¸ÃÃüÁÏÔʾËùÓеÄÓû§¶¨ÖÆ£¬ÆäÖÐÑ¡Ïî-a´ú±í“all”¡£
$ulimit -c unlimitedÀ´ÈÃÌض¨µÄÓû§¿ÉÒÔ²úÉúcoreÎļþ
coreÎļþ½ö½öÊÇÒ»¸öÄÚ´æÓ³Ïó(ͬʱ¼ÓÉϵ÷ÊÔÐÅÏ¢)£¬Ö÷ÒªÊÇÓÃÀ´µ÷ÊԵġ£Èç¹ûÄú¸ù±¾¾Í²»Ïë ......
windowsÖ÷»úºÍLinuxÐéÄâ»úÉèÖÃÎļþ¼Ð¹²Ïí
µÚÒ»²½£º´ò¿ªÐéÄâ»ú µãvm-----install vmtools
µÚ¶þ²½£º¿ªÊ¼ÐéÄâ»úLinux
ÔÚÖն˼üÈëÒ»ÏÂÃüÁî
cp /mnt/cdrom/VMwareTools-6.0.0-45731.tar.gz /usr/tmp
cd /usr/tmp
tar xzvf VMwareTools-6.0.0-45731.tar.gz
cd vmware-tools-distrib
./vmware-install.pl
һ·»Ø³µ£¬µÈ¿´µ ......
NO
·ÖÀà
PS1
ÃüÁîÃû
Ó÷¨¼°²ÎÊý
¹¦ÄÜ×¢½â
1
ÏÔʾĿ¼ÐÅÏ¢
#
ls
ls -a
Áгöµ±Ç°Ä¿Â¼ÏµÄËùÓÐÎļþ£¬°üÀ¨ÒÔ.Í·µÄÒþº¬Îļþ
#
ls
ls -l»òll
Áгöµ±Ç°Ä¿Â¼ÏÂÎļþµÄÏêϸÐÅÏ¢
#
ls
ls -a
ÏÔʾËùÓÐÎļþ£¬°üº¬Òþ²Ø¡£
#
ls
ls -al
ÏÔʾËùÓÐÎļþµÄÏêϸÐÅÏ¢¡£
2
²é¿´Â·¾¶
#
pwd
pwd
......