Linux³£ÓÃÃüÁî
Linux³£ÓÃÃüÁîÇåµ¥
NO
·ÖÀà
PS1
ÃüÁîÃû
Ó÷¨¼°²ÎÊý
¹¦ÄÜ×¢½â
1
Îļþ¹ÜÀí
#
ls
ls -a
Áгöµ±Ç°Ä¿Â¼ÏµÄËùÓÐÎļþ£¬°üÀ¨ÒÔ.Í·µÄÒþº¬Îļþ
Îļþ¹ÜÀí
#
ls
ls -l»òll
Áгöµ±Ç°Ä¿Â¼ÏÂÎļþµÄÏêϸÐÅÏ¢
Îļþ¹ÜÀí
#
pwd
pwd
²é¿´µ±Ç°ËùÔÚĿ¼µÄ¾ø¶Ô·¾
Îļþ¹ÜÀí
#
cd
cd ..
»Øµ±Ç°Ä¿Â¼µÄÉÏÒ»¼¶Ä¿Â¼
Îļþ¹ÜÀí
#
cd
cd -
»ØÉÏÒ»´ÎËùÔÚµÄĿ¼
Îļþ¹ÜÀí
#
cd
cd ~ »ò cd
»Øµ±Ç°Óû§µÄËÞÖ÷Ŀ¼
Îļþ¹ÜÀí
#
cd
cd ~̞
»ØÖ¸¶¨Óû§µÄËÞÖ÷Ŀ¼
2
Îļþ¹ÜÀí
#
mkdir
mkdir Ŀ¼Ãû
´´½¨Ò»¸öĿ¼
Îļþ¹ÜÀí
#
mkdir
mkdir –p
µÝ¹éʽȥ´´½¨Ò»Ð©Ç¶Ì×Ŀ¼
Îļþ¹ÜÀí
#
rmdir
Rmdir ¿ÕĿ¼Ãû
ɾ³ýÒ»¸ö¿ÕĿ¼
3
Îļþ¹ÜÀí
#
rm
rm ÎļþÃû ÎļþÃû
ɾ³ýÒ»¸öÎļþ»ò¶à¸öÎļþ
Îļþ¹ÜÀí
#
rm
rm -rf ·Ç¿ÕĿ¼Ãû
µÝ¹éɾ³ýÒ»¸ö·Ç¿ÕĿ¼ÏµÄÒ»ÇУ¬²»ÈÃÌáʽ-f
4
Îļþ¹ÜÀí
#
cat
catÎļþÃû
Ò»ÆÁ²é¿´ÎļþÄÚÈÝ
5
Îļþ¹ÜÀí
#
more
moreÎļþÃû
·ÖÒ³²é¿´ÎļþÄÚÈÝ
6
Îļþ¹ÜÀí
#
less
less ÎļþÃû
¿É¿Ø·ÖÒ³²é¿´ÎļþÄÚÈÝ
7
Îļþ¹ÜÀí
#
grep
grep×Ö·û ÎļþÃû
¸ù¾Ý×Ö·ûÆ¥ÅäÀ´²é¿´Îļþ²¿·ÖÄÚÈÝ
8
Îļþ¹ÜÀí
#
mv
mv ·¾/Îļþ /¾/Îļþ
Òƶ¯Ïà¶Ô·¾ÏµÄÎļþµ½¾ø¶Ô·¾ÏÂ
Îļþ¹ÜÀí
#
mv
mv ÎļþÃû ÐÂÃû³Æ
ÔÚµ±Ç°Ä¿Â¼Ï¸ÄÃû
9
Îļþ¹ÜÀí
#
cp
cp /·¾/Îļþ ./
Òƶ¯¾ø¶Ô·¾ÏµÄÎļþµ½µ±Ç°Ä¿Â¼ÏÂ
10
Îļþ¹ÜÀí
#
find
find ·¾ -name “×Ö·û´®”
²éÕÒ·¾ËùÔÚ·¶Î§ÄÚÂú×ã×Ö·û´®Æ¥ÅäµÄÎļþºÍĿ¼
11
Îļþ¹ÜÀí
#
ln
ln Ô´Îļþ Á´½ÓÃû
´´½¨µ±Ç°Ä¿Â¼Ô´ÎļþµÄÓ²Á´½Ó
ln /home/test /usr/test1
ÔÚ/usrϽ¨Á¢/home/testµÄÓ²Á´½Ó
12
Îļþ¹ÜÀí
#
ln
Ln -s a b
´´½¨µ±Ç°Ä¿Â¼ÏÂaµÄ·ûºÅÁ´½Ób
13
Îļþ¹ÜÀí
#
touch
touch file1 file2
´´½¨Á½¸ö¿ÕÎļþ
14
´ÅÅ̹ÜÀí
#
df
df
ÓÃÓÚ±¨¸æÎļþϵͳµÄ×ÜÈÝÁ¿£¬Ê¹ÓÃÁ¿£¬Ê£ÓàÈÝÁ¿¡£
15
´ÅÅ̹ÜÀí
#
du
du -b /home
²é¿´Ä¿Ç°/HOMEĿ¼µÄÈÝÁ¿(k)¼°×ÓĿ¼µÄÈÝÁ¿(k)¡£
16
Ïà¹ØÎĵµ£º
Ãæ¶Ô²»¶ÏÉý¼¶µÄlinuxÄںˡ¢GNU¿ª·¢¹¤¾ß¡¢linux»·¾³Ïµĸ÷ÖÖͼÐο⣬ºÜ¶àlinuxÓ¦ÓóÌÐò
¿ª·¢ÈËÔ±ºÍlinuxÉ豸Çý¶¯¿ª·¢ÈËÔ±¼´ÐË·Ü£¬ÓÖ·³Ôê¡£Ð˷ܵÄÊÇеÄÈí¼þÈí¼þ¡¢¹¤¾ß¸øÎÒÌṩÁ˸üÇ¿´óµÄ¹¦ÄÜ£¬·³ÔêµÄÊÇÊÊÓ¦ÐÂÈí¼þµÄÌØÐÔ¡¢´î½¨Ð»·¾³ÊÇÒ»Ïî
·Ç³£·±ËöµÄÊÂÇé¡£±¾ÎÄÏë´ÓÒÔÏÂ3¸ö·½Ãæ̽ÌÖһϓÃæ¶Ô²»¶ÏÉý¼¶µÄÄںˣ¬ÈçºÎÑ ......
±¾ÎÄÏêϸÃèÊöÁËÔÚLinux²Ù×÷ϵͳÉÏ°²×°ºÍÅäÖÓ×ÔÊÊӦͨÐÅ»·¾³(ACE)”µÄ¹ý³ÌºÍ×¢ÒâÊÂÏî¡£zCkLinuxÁªÃË
ÎÄÖеÄÃèÊö»ùÓÚRedHat Linux 9²Ù×÷ϵͳºÍACE 5.4°æzCkLinuxÁªÃË
×¼±¸¹¤×÷£ºzCkLinuxÁªÃË
1.È·±£ÄãµÄLinux²Ù×÷ϵͳµÄ¿ª·¢»·¾³(gcc¡¢make……)ÊÇÍêÕûÇÒ¿ÉÓõġ£zCkLinuxÁªÃË
2.ÔÚ°²×°ACEµÄ¹ý³ÌÖÐ ......
ÔÚTimesTenµÄÓÅ»¯ÖУ¬Èç¹ûÉæ¼°µ½ Replication »òÕßCache GroupµÄ»°£¬ÄÇôÕë¶Ô TCP/IPÏà¹ØµÄ²ÎÊýµÄÓÅ»¯¶ÔÐÔÄÜÊÇÓÐÒæµÄ¡£ÒòΪËüÃÇÁ©¶¼ÊÇͨ¹ýTCP/IPÐÒé½øÐÐÊý¾Ý½»»¥µÄ¡£ÔÚ°²×°Îĵµ(install.pdf)µÄ39Ò³ÓоßÌåµÄ˵Ã÷£º
For replication, TCP send and receive buffers should be increased to a minimum of 512KB. To ......
whereis ÃüÁîÏê½â
¹¦ÄÜ˵Ã÷£º²éÕÒÎļþ¡£
Óï¡¡¡¡·¨£ºwhereis [-bfmsu][-B ...][-M ...][-S ...][Îļþ...]
²¹³ä˵Ã÷£ºwhereisÖ¸Áî»áÔÚÌض¨Ä¿Â¼ÖвéÕÒ·ûºÏÌõ¼þµÄÎļþ¡£ÕâЩÎļþµÄÁÒÐÔÓ¦ÊôÓÚÔʼ´úÂ룬¶þ½øÖÆÎļþ£¬»òÊÇ°ïÖúÎļþ¡£
²Î¡¡¡¡Êý£º
¡¡-b ¡¡Ö»²éÕÒ¶þ½øÖÆÎļþ¡£
¡¡-B ¡¡Ö»ÔÚÉèÖõÄĿ¼Ï²éÕÒ¶þ½øÖÆÎļþ¡£
¡¡-f ......
Ï̵߳Äͬ²½, ·¢ÉúÔÚ¶à¸öÏ̹߳²ÏíÏàͬÄÚ´æµÄʱºò, ÕâʱҪ±£Ö¤Ã¿¸öÏß³ÌÔÚÿ¸öʱ¿Ì¿´µ½µÄ¹²ÏíÊý¾ÝÊÇÒ»ÖµÄ. Èç¹ûÿ¸öÏß³ÌʹÓõıäÁ¿¶¼ÊÇÆäËûÏ̲߳»»áʹÓõÄ(read & write), »òÕß±äÁ¿ÊÇÖ»¶ÁµÄ, ¾Í²»´æÔÚÒ»ÖÂÐÔÎÊÌâ. µ«ÊÇ, Èç¹ûÁ½¸ö»òÁ½¸öÒÔÉϵÄÏ߳̿ÉÒÔread/writeÒ»¸ö±äÁ¿Ê±, ¾ÍÐèÒª¶ÔÏ߳̽øÐÐͬ²½, ÒÔÈ·±£ËüÃÇÔÚ·ÃÎʸñä ......