Siamcafe.net º·¤ÇÒÁà¡èÒ·Õè¹èÒʹã¨
Pages: 123
Re: ÁÒÃ٨ѡ Network ãËéÁÒ¡¢Ö鹡ÇèÒà´ÔÁ¾×é¹°Ò¹¸ÃÃÁ´Ò¨¹¢Ñé¹ÊÙ§áÅСÒÃá¡é»Ñ­ËÒ By: chan1625 Date: ѹҤ 19, 2007, 09:11:31 PM
º·¤ÇÒÁ´ÕÁÒ¡¤ÃѺáµèÃÙ»äÁè¢Ö鹢ͺ¤Ø³ÁÒ¡¤ÃѺÊÓËÃѺ¤ÇÒÁÃÙé´Õæ
Re: ÁÒÃ٨ѡ Network ãËéÁÒ¡¢Ö鹡ÇèÒà´ÔÁ¾×é¹°Ò¹¸ÃÃÁ´Ò¨¹¢Ñé¹ÊÙ§áÅСÒÃá¡é»Ñ­ËÒ By: snakehead Date: չҤ 11, 2008, 10:31:09 AM
 Roll EyesÃÙ» ËÒÂÍФѺ ú¡Ç¹ªèÇÂÍѾãËéãËÁè·Õ´Ô¤Ñº áÅéÇ¡é͢ͺ¤Ø³ÊÑÁËÃѺ¤ÇÒÁÃÙé¤Ñº
 ÍÂèÒÅ×ÁÍѾÃÙ»ãËéãËÁè´éǹèФѺ  ¢Íº¤Ø³¤Ñº
Re: ÁÒÃ٨ѡ Network ãËéÁÒ¡¢Ö鹡ÇèÒà´ÔÁ¾×é¹°Ò¹¸ÃÃÁ´Ò¨¹¢Ñé¹ÊÙ§áÅСÒÃá¡é»Ñ­ËÒ By: joyz Date: չҤ 11, 2008, 11:18:40 AM
THANK>>>>>>>>>>>>>>>>>>>>>>>>
Re: ÁÒÃ٨ѡ Network ãËéÁÒ¡¢Ö鹡ÇèÒà´ÔÁ¾×é¹°Ò¹¸ÃÃÁ´Ò¨¹¢Ñé¹ÊÙ§áÅСÒÃá¡é»Ñ­ËÒ By: smartbank Date: չҤ 11, 2008, 01:08:47 PM
thak thank thank ¨Ô¹µ¹Ò¡ÒÃÃÙ»àÍÒ ÃÙËÒ  :'(
Re: ÁÒÃ٨ѡ Network ãËéÁÒ¡¢Ö鹡ÇèÒà´ÔÁ¾×é¹°Ò¹¸ÃÃÁ´Ò¨¹¢Ñé¹ÊÙ§áÅСÒÃá¡é»Ñ­ËÒ By: siamcafexp Date: չҤ 11, 2008, 02:24:01 PM
àÍÒÁÑè§ÊÔ. 8)áµèÍѹ¹Õé Linux à¾ÕÂÇæ¹Ð¤ÃѺ áµè Network ªÑé¹ÊÙ§àÅÂ

¤ÓÊÑ觾×é¹°Ò¹ÊÓËÃѺ Linux


àÃÔèÁµé¹ãªé§Ò¹ÍÐäà ÊÔ觨Óà»ç¹ÍÂèÒ§áá¡ç¤§¨Ð˹ÕäÁè¾é¹¤ÓÊÑ觾×鹰ҹ㹡ÒÃãªé§Ò¹¡Ñ¹áËÅÐ Linux àͧ¡çàªè¹¡Ñ¹ ¤ÓÊÑ觾×é¹°Ò¹·Õè¨Ðá¹Ð¹ÓãËéæ ¤Ø³æ ¹Õéà»ç¹¤ÓÊÑè§àº×éͧµ¹·ÕèËÅÒÂæ ¤¹·Õèãªé Linux àͧ ¡çÃÙéÍÂÙèáÅéÇ àÍÒà»ç¹ÇèÒá¹Ð¹Ó¤¹·Õè¨ÐËѹÁÒÅͧãªé OS µÑǹÕé¡Ñ¹´Ù à»Ô´ÁÒ¨Ðä´éäÁ觧«Ð¡è͹¾ÒŨÐäÁèÍÂÒ¡ãªéÁѹ áÅСÅèÒÇËÒÇèÒÁѹãªé§Ò¹ÂÒ¡´Õá·é àËÍÐæ ÇèҡѹàŹÐ

cd [directory]
cd ËÃ×Í change director ã¤Ã¤Øé¹à¤Â¡Ð dos ¤§¨Ð¤Øé¹à¤Â¡Ð¤ÓÊÑ觹Õé
¤ÓÊÑ觹ÕéàÍÒäÇéÂéÒ·ÕèÍÂÙè¢Í§¤Ø³ä»Âѧ directory ·Õè¤Ø³µéͧ¡Òà àªè¹ËÅѧ¨Ò¡ log in à¢éÒÊÙèÃкºáÅéÇ (ÊÁÁصÔÍÂÙèã¹ /home/user1 áÅСѹ¹Ð) áÅÐÍÂÒ¡¨ÐÂéÒ·ÕèÍÂÙèä»Âѧ directory Í×è¹·Óä´éâ´Â¡ÒÃãªé¤ÓÊÑ觹ÕéáËÅÐ ÍÂèÒ§àªè¹ cd /etc à¾×èÍ ä»Âѧ /etc ËÃ×Í cd .. à¾×èÍÂéÒÂä»Âѧ directory ¡è͹˹éÒ (¶éҤسÍÂÙèã¹ /home/user1 ¤Ø³¨ÐÂéÒÂÍÍ¡ÁÒÍÂÙè·Õè /home)

mkdir [directory]
ÊÓËÃѺÊÃéÒ§ directory ¢Öé¹ÁÒãËÁè ÍÂèÒ§àªè¹µéͧ¡ÒÃÊÃéÒ§ directory ÊÓËÃѺà¡çºàÍ¡ÊÒ÷Óä´éâ´Â¡ÒþÔÁ¾ì mkdir Docs (ÊÃéÒ§ directory ª×èÍ Docs ¢Öé¹ÁÒ) ¨ÐÊÃéÒ§ directory ·Õèä˹ä´é ËÁÒ¤ÇÒÁÇèҤسµéͧÁÕÊÔ·¸Ôì㹡ÒÃÊÃéҧ㹠directory ¹Ñé¹æ ´éǹÐ
useradd -D à»ÅÕ蹤èÒ Default ¢Í§¤ÓÊÑè§

mdir [directory]
ËÅѧ¨Ò¡ÊÃéÒ§áÅéÇäÁèà»ç¹·Õè¾Í㨠źä´éâ´Âãªé¤ÓÊÑ觹Õé ÍÂèÒ§àªè¹ rmdir Docs (ź directory ª×èÍ Docs) »¡µÔ rmdir ¨Ðźä´é੾ÒÐ directory ·ÕèäÁèÁÕÍÐäÃÍÂÙè¢éҧ㹠¶éҤسµéͧ¡ÒÃź directory ·ÕèÁÕ file ËÃ×Í directory Í×è¹ÍÂÙèã¹¹Ñé¹ãªé¤ÓÊÑè§ rm -r [directory]

rm [file]
rm ãªéÊÓËÃѺź file ¶éÒµéͧ¡ÒÃź file ª×èÍ readme.txt ãªé¤ÓÊÑ觹Õé rm readme.txt ¶éÒµéͧ¡ÒÃź directory ·ÕèÁÕËÃ×ÍäÁèÁÕ file ÍÂÙè¢éÒ§ã¹ãªé rm -r [file or directory] ÍÒ¨¨ÐʧÊÑÂáÅéÇ·ÓäÁµéͧÁÕ rmdir ¤Ô´ÇèÒà¤éÒàÍÒäÇé»éͧ¡Ñ¹¤ÇÒÁ¼Ô´¾ÅÒ´ËÃ×Íà¼ÅÍàÅͧ͢¼Ùéãªé à·èÒ¹Ñé¹àͧ ÇèÒ¨ÃÔ§æ áÅéǤسµéͧ¡ÒÃź file ËÃ×Í directory ¡Ñ¹á¹è

pwd
áÊ´§ path »Ñ¨¨ØºÑ¹·Õè¤Ø³ÍÂÙè

ls
áÊ´§ÃÒª×èÍ file ã¹ directory ¶éÒ ls -l ¨ÐáÊ´§áººÂÒÇ ËÃ×ͶéÒµéͧ¡ÒÃáÊ´§ file ·Õè«è͹ÍÂÙè (¾Ç¡ file ·Õè¢Ö鹵鹴éÇ . ) ãªé¤ÓÊÑè§ ls -a ËÃ×Í ls -la ¡çä´éµÒÁªÍºã¨ ¨ÐÇèÒ仡çàËÁ×͹¡Ñº dir ã¹ dos ¹Ñè¹áËÅÐ ¶éÒµéͧ¡ÒÃáÊ´§à©¾ÒÐ file ·ÕèÁÕ¹ÒÁÊ¡ØÅà»ç¹ .txt ¡ç ¾ÔÁ¾ì ls *.txt

mv [file1] [file2]
ÂéÒÂÁѹ价ÕèÍ×è¹ ËÃ×Íà»ÅÕ蹪×èÍÁѹ (Áѹ·ÕèÇèÒ¤×Í file ËÃ×Í directory ¹Ñè¹àͧ)

cp [file1] [file2]
copy Áѹ ¶éÒµéͧ¡Òà copy ·Ñé§ directory ãªé cp -r [dir1] [dir2]

cat [file]
áÊ´§¢éÍÁÙÅã¹ file ÍÍ¡·Ò§¨ÍÀÒ¾ ÍÂÒ¡ÃÙéÇèÒã¹ file ¹Ñé¹ÁÕ¢éÍÁÙÅÍÐäÃÍÂÙè â´ÂäÁèµéͧà»Ô´ file ãªé¤ÓÊÑ觹Õé ÍÂèÒ§àªè¹ cat /etc/passwd

more [file]
áÊ´§·ÕÅкÃ÷Ѵ ¶éÒ file ÁѹÂÒÇÁÒ¡à¡Ô¹Ë¹éÒ¨Í ãªé cat ÍÒ¨¨ÐäÁèÊдǡ à¾ÃÒÐÍÒ¨¨ÐÁͧäÁè·Ñ¹ ¡çãªé more á·¹ àÅ×è͹´Ù¢éÍÁÙÅ˹éҶѴä»â´Â¡ÒÃà¤ÒÐ space bar

less [file]
àËÁ×͹ more ¤§à¢Õ¹¢Öé¹ÁÒà¾×èÍà¾ÔèÁ¤ÇÒÁÊÒÁÒö¢Í§ more àͧ à¾ÃÒÐ more Áѹ´Ùä´éáµè˹éÒ¶Ñ´ä» áµè less ÊÒÁÒöàÅ×è͹¡ÅѺ仴٢éÍÁÙÅ¡è͹˹éÒä´é â´Â space bar à»ç¹¡ÒÃàÅ×è͹´Ù˹éÒ¶Ñ´ä» áÅÐ b à»ç¹¡ÒÃàÅ×è͹´Ù˹éÒ¡è͹˹éÒ ¶éÒµéͧ¡ÒÃàÅ×è͹价ÕÅФÃÖè§Ë¹éÒ ãªé d ¶éÒàÅ×è͹¡ÅѺ¤ÃÖè§Ë¹éÒ¡çãªé u ÃÒÂÅÐàÍÕ´à¾ÔèÁàµÔÁ´Ùä´é¨Ò¡¤ÓÊÑè§ less --help

¤ÓÊÑ觾×é¹°Ò¹ÊÓËÃѺ Linux (µÍ¹ 2)
¡ÒÃãªé§Ò¹Linux ¨Ð ÁÕ¤ÓÊÑ觷Õèà»ç¹¾×é¹°Ò¹·ÕèÊӤѭ·ÕèµéͧÃÙéáÅÐà»ç¹¤ÓÊÑ觷Õèà¾ÔèÁàµÔÁà¢éÒÁÒÍÕ¡¨Ò¡µÍ¹·Õè 1 à»ç¹¡ÒÃá¹Ð¹Ó¤¹·Õè¨ÐËѹÁÒÅͧãªé OS µÑǹÕé¡Ñ¹´Ù ¢ÍãËé·Ó¤ÇÒÁà¢éÒ㨠áÅÐÍ´·¹¡Ñ¹Ë¹è͹Ð

¤ÓÊÑè§à¡ÕèÂǡѺ File
cd [directory]
ÂèÍÁÒ¨Ò¡ change directory à»ç¹¤ÓÊÑè§à´ÕÂǡѹ¡Ñº dos áµè ·ÕèµèÒ§¡Ñ¹¹Ô´Ë¹Ö觤×Í ã¹ dos ¡ÒÃà¢Õ¹ª×èÍ directory ¨Ðà»ç¹ test áµè¶éÒã¹ unix ¨Ðà»ç¹ /test ¶éÒµéͧ¡ÒÃä» directory test ¡ç¾ÔÁ¾ì cd test ËÃ×ͶéÒ¾ÔÁ¾ì cd à©Âæ áÅéÇà¤ÒÐ Enter ¨Ðà»ç¹¡ÒÃà»ÅÕè¹ directory ä»·Õè home directory ¢Í§¼Ùéãªé ÊÓËÃѺ directory ã¹ unix ¹Ñé¹äÁèàËÁ×͹㹠dos unix äÁèÁÕ disk lable àªè¹ c: ËÃ×Í d: directory ·ÕèÍÂÙ躹 ÊØ´¢Í§ unix àÃÕ¡ÇèÒ root directory à¢Õ¹ÊÑé¹æÇèÒ / â¤Ã§ÊÃéÒ§ directory ¨Ð»ÃСͺ´éÇ /bin, /usr/bin à¡çº ¤ÓÊÑè§ãªé§Ò¹·ÑèÇä» /sbin, /usr/sbin ãªéà¡çº¤ÓÊÑè§ ¢Í§ admin ·Ñé§ /bin, /usr/bin/, /sbin, /usr/sbin ÁÑ¡ãªéà¡çºâ»Ãá¡ÃÁ·ÕèÁÒ¾ÃéÍÁ¡Ñº CD áÅеԴµÑé§Å§ã¹à¤Ã×èͧµÍ¹Å§ Linux (ÍÕ¡¹Ô´Ë¹Öè§ bin ËÁÒ¶֧ directory ¹Ñé¹à¡çº binary file ÊÓËÃѺ sbin ËÁÒ¶֧ directory ¹Ñé¹à¡çº sytem binary ¤×Íà»ç¹¤ÓÊÑè§ÊÓËÃѺ¼Ùé´ÙáÅÃкºà·èÒ¹Ñé¹) /etc äÇéà¡çº configuration µèÒ§æ¢Í§Ãкº /var ãªéà¡çº¢éÍÁÙŢͧâ»Ãá¡ÃÁ ÃÇÁ·Ñé§ log ¢Í§Ãкº ÊÓËÃѺâ»Ãá¡ÃÁ·ÕèàÃÒ compile áÅеԴµÑé§àͧÁÑ¡¨ÐÍÂÙèã¹ directory ª×èÍ /usr/local áÅзéÒÂÊØ´ ¤×Í home directory /home ãªéà¡çº¢éÍÁÙŢͧ¼Ùéãªéã¹Ãкº àªè¹¶éÒÊÃéÒ§ ¼Ùéãªéª×èÍ joy Ãкº¡ç¨ÐÊÃéÒ§ directory ª×èÍ /home/joy ãËéâ´ÂÍѵâ¹ÁѵÔ

mv [ª×èÍ file µé¹·Ò§] [ª×èÍ file »ÅÒ·ҧ]
µÃ§¡Ñº¤ÓÊÑè§ ren ËÃ×Í rename ã¹ dos áµè·Ó§Ò¹ä´éÁÒ¡¡ÇèÒ mv ÂèÍÁÒ¨Ò¡ move µÑÇÍÂèÒ§¡ÒÃãªé§Ò¹ mv test test2 ¨Ðà»ç¹¡ÒÃà»ÅÕ蹪×èÍ file ¨Ò¡ test ä»à»ç¹ test2 ËÃ×Í mv /test /test2 ¨Ðà»ç¹¡ÒÃà»ÅÕ蹪×èÍ directory ¨Ò¡ test ä»à»ç¹ test2 áÅÐ mv /test /temp/ â´Â·Õè temp à»ç¹ directory ·ÕèÁÕÍÂÙèáÅéǨÐà·èҡѺà»ç¹¡ÒÃÂéÒ /test ä»à»ç¹ directory ÂèÍ¢ͧ /temp (/temp/test

ls
¤ÓÊÑ觹ÕéãªéáÊ´§ÃÒª×èÍ file ã¹ directory (ËÃ×Í Folder ) µÃ§¡Ñº¤ÓÊÑè§ Dos ·Õèª×èÍ Dir ÁÕ option ºÒ§·Õ¡çàÃÕ¡ÇèÒ argument ·ÕèÊӤѭä´éá¡è -l ãËéáÊ´§ÃÒÂÅÐàÍÕ´¢Í§ file, -a áÊ´§ file ·Ñé§ËÁ´ÃÇÁ·Ñé§ hidden file «Ö觨ÃÔ§æ áÅéÇ¡ç¤×Í file ·ÕèÁÕª×èÍ¢Ö鹵鹴éÇ . àªè¹ .profile
µÑÇÍÂèÒ§àªè¹ ls -l man* ËÃ×Í ls -l -a man * ËÃ×Í ls -la man* ¡ÒÃãªé wildcard àªè¹ * ÊèǹãË­è¡ç¤ÅéÒ¡Ѻ windows ËÃ×Í dos áµè·Õèà´ç´¡ÇèÒ¹Ñ鹤×Í àÃÒÊÒÁÒöãªé wildcard ¡Ñº Directory ´éÇÂàªè¹ ls /usr/local/apach*/ht* ¡çÊÒÁÒöáÊ´§ file ·Õèà¡çºã¹ directory/usr/local/apache/htdocs áµè¶éÒã¹ /usr/local/apache ÁÕ directory /htdocs ¡Ñº httpd áÅéÇÅСç ੾ÒÐ file ã¹ htdocs ¨Ð¶Ù¡áÊ´§à·èÒ¹Ñ鹤ÓÊÑ觹Õéà»ç¹¤ÓÂèͧ͢ List

rm [file]
¤ÓÊÑè§ Åº file àËÁ×͹¤ÓÊÑè§ del ã¹ dos ÊÒÁÒöãªé wildcard ä´éàªè¹à´ÕÂǡѺ ls áÅÐÁÕ option à´ÕÂÇ·Õè¤×Í -r «Öè§àÁ×èÍãªé¤ÓÊÑè§ rm -r /usr/src/temp ËÁÒ¤ÇÒÁÇèÒ ãËéź file áÅÐ directory ÂèÍ·Ñé§ËÁ´·ÕèÍÂÙèÀÒÂã¹ directory /usr/src/temp rm ÂèÍÁÒ¨Ò¡ remove

pwd
¡Ã³Õ·ÕèàÃÒ à»ÅÕè¹ directory ä»ÁÒ¨¹ÊѺʹ¨ÓäÁèä´éÇèҵ͹¹ÕéµÑÇàͧÍÂÙèã¹ directory ã´ ãËéãªé¤ÓÊÑè§ pwd à¾×èÍ´ÙÇèÒàÃÒÍÂÙèã¹ directory ã´ pwd ÂèÍÁÒ¨Ò¡ pop ËÃ×Í print working directory

chmod
¤ÅéÒ¡Ѻ¤ÓÊÑè§ Attrib ¢Í§ Dos à»ç¹¡ÒÃà»ÅÕè¹ mode ¡ÒÃãªé§Ò¹¢Í§ file ¤×Í»¡µÔ file ã¹ unix ¨ÐÁÕ mode ¡ÒÃãªé§Ò¹ áÅÐÊÔ·¸Ô㹡ÒÃãªé§Ò¹ÍÂÙè¡Ñº file
â´ÂàÃÒÊÒÁÒöàÃÕ¡´Ù mode ¡ÒÃãªé§Ò¹ä´é¨Ò¡¤ÓÊÑè§ ls -l µÑÇÍÂèÒ§àªè¹#ls -l /etc/host.conf
# -rwxr--r-- root.daemon host.conf ..
µÃ§ -rwxr--r-- à»ç¹µÑÇ·ÕèºÍ¡ÊÔ·¸Ô¡ÒÃãªé file â´ÂÊѧࡵÇèÒ -[rwx][r--][r--] ¹Ñé¹»ÃСͺ´éǵÑÇÍÑ¡Éà 10 µÑÇ 1 µÑÇááºÍ¡ÇèÒ à»ç¹ file ËÃ×Í directory ¶éÒà»ç¹ file ãªéÊÑ­ÅÑ¡³ì - ¶éÒà»ç¹ directory ¨Ð¶Ù¡á·¹´éÇ D ´Ñ§¹Ñé¹ /etc/host.conf ¨Ö§à»ç¹ file ÊÑ­Åѡɳì 3 µÑǶѴÁÒ¨Ðà»ç¹¡Òú͡ÇèÒ à¨éҢͧÁÕÊÔ·¸Ô㹡ÒÃãªé file ÍÂèÒ§äà rwx µÑÇáá㹠3 µÑǹÕéá·¹ÊÔ·¸Ô㹡ÒÃÍèÒ¹´Ù file ãªéÊÑ­ÅÑ¡Éì r á·¹ ÍèÒ¹ä´é áÅÐ - á·¹äÁèÁÕÊÔ·¸ÔÍèÒ¹ µÑÇ·Õè 2 ÃкØÇèÒÁÕÊÔ·¸Ô¡ÒÃà¢Õ¹ËÃ×Íá¡éä¢ file ËÃ×ÍäÁè w á»ÅÇèÒ á¡éä¢ä´é - á»ÅÇèÒá¡éä¢äÁèä´é áÅеÑÇÊØ´·éÒÂá·¹ÇèÒÊÒÁÒöÃѹ¤ÓÊÑ觹Õéä´éËÃ×ÍäÁè (run ËÃ×Í execute) x á»ÅÇèÒ execute ËÃ×Í run ¤ÓÊÑè§ /etc/host.conf ä´éáÅÐ - á·¹äÁèä´é
ÊÑ­Åѡɳì 3 µÑǶѴÁÒá·¹ÊÔ·¸Ô¢Í§¼Ùé·ÕèÍÂÙè㹡ÅØèÁà´ÕÂǡѹ¡Ñºà¨éҢͧ file ¡ÒÃÍèÒ¹¤èÒ¡çàËÁ×͹·Õè͸ԺÒÂä»áÅéÇ
ÊÑ­Åѡɳì 3 µÑÇÊØ´·éÒÂá·¹ÊÔ·¸Ô¡ÒÃãªé file ¢Í§¤¹·ÑèÇä» ·ÕèäÁèä´éÍÂÙè㹡ÅØèÁ
µÑÇÍÂèÒ§·ÕèàË繺͡ÇèÒ /etc/host.conf ÊÒÁÒöÍèÒ¹à¢Õ¹áÅÐ run ä´éâ´Âà¨éҢͧ áÅФ¹ã¹¡ÅØèÁà´ÕÂǡѹ¡Ñºà¨éҢͧáÅФ¹Í×è¹ÊÒÁÒöÍèÒ¹ä´é äÁèÊÒÁÒöá¡éä¢ ËÃ×Í run ¤ÓÊÑè§ä´é

mkdir [ ª×èÍ directory]
¤ÓÊÑ觹Õéà¢éÒ㨧èÒÂà»ç¹¤ÓÊÑè§ÊÃéÒ§ directory «Ö觵ç¡Ñº¤ÓÊÑè§ md ¢Í§ dos

rmdir [ª×èÍ directory]
¤ÓÊÑ觹Õéà¢éÒ㨧èÒÂà»ç¹¤ÓÊÑè§Åº directory «Ö觵ç¡Ñº¤ÓÊÑè§ rd ¢Í§ dos

cat [file]
áÊ´§¢éÍÁÙÅã¹ file ÍÍ¡·Ò§¨ÍÀÒ¾ ÍÂÒ¡ÃÙéÇèÒã¹ file ¹Ñé¹ÁÕ¢éÍÁÙÅÍÐäÃÍÂÙè â´ÂäÁèµéͧà»Ô´ file ãªé¤ÓÊÑ觹Õé ÍÂèÒ§àªè¹ cat /etc/passwd ËÒ¡µéͧ¡ÒèÐÍÍ¡¨Ò¡¤ÓÊÑè§ cat ãËé¡´»ØèÁ Ctrl-d «Ö觨ÐËÁÒ¶֧ ¡ÒÃÊè§ÊÑ­Åѡɳì end-of-file (EOF) ä»ãËé¡Ñº¤ÓÊÑè§ z

vi
ãªé㹡ÒÃá¡éä¢ file â»Ãá¡ÃÁ¹Õéãªé§Ò¹ÂÒ¡ áÅФ§µéͧä»ÍèÒ¹¤ÙèÁ×ÍàÍÒàͧ áµèËÅÑ¡æ ¡ç¤×Í »¡µÔàÁ×èͨÐãªé§Ò¹ãËé ¾ÔÁ¾ì vi µÒÁ´éǪ×èÍ file àªè¹ vi test à»ç¹µé¹ »¡µÔàÁ×èÍàÃÕ¡â»Ãá¡ÃÁàÊÃç¨áÅéÇàÃÒ¨ÐÂѧäÁèÊÒÁÒö»é͹¢éÍÁÙÅËÃ×;ÔÁ¾ìä´é àÃÒàÃÕ¡ʶҹСÒóì¹ÕéàÃÕ¡ÇèÒ command mode àÃÒµéͧ¡´»ØèÁ i (µÑÇÍÑ¡Éà i) à¾×èͨÐà¢éÒÊÙè Edit mode «Öè§àÃÒ¨ÐÊÒÁÒö¾ÔÁ¾ìµÑÇÍÑ¡ÉÃä´é áÅÐàÁ×è;ÔÁ¾ì¨¹ÊÒá¡èã¨áÅéÇ ¡çãËé¡´»ØèÁ esc à¾×è͡Ѻà¢éÒÊÙè command mode áÅÐ ¾ÔÁ¾ì : (semicolon) µÒÁ´éÇ w à¾×èÍ ºÑ¹·Ö¡¢éÍÁÙÅ (:w) ËÃ×Í :wq à¾×èͺѹ·Ö¡¢éÍÁÙÅáÅÐÍÍ¡¨Ò¡â»Ãá¡ÃÁ ËÃ×Í :q! à¾×èÍÍÍ¡¨Ò¡â»Ãá¡ÃÁâ´ÂäÁèºÑ¹·Ö¡¢éÍÁÙÅ vi ÂèÍÁÒ¨Ò¡ visual editor

cp [file source] [file destination]
à»ç¹¤ÓÊÑè§ copy ¢Í§ dos ¹Ñé¹àͧ áµèÁÕ option ˹Ö觷Õèãªé»ÃШӤ×Í -R «Ö觨зÓãËéâ»Ãá¡ÃÁ cp ·Ó§Ò¹ä´éàËÁ×͹ Xcopy µÑÇÍÂèÒ§¡ÒÃãªé§Ò¹àªè¹ cp test1 test2 à»ç¹¡Òà copy à¹×éÍËҢͧ file test1 ä»ãÊèã¹ file test2 ËÃ×Í ÊÁÁµÔÇèÒã¹ directory /usr »ÃСͺ´éÇ directory Âèͤ×Í temp local src àÁ×èÍàÃÒÍÍ¡¤ÓÊÑè§ cp -R /usr /var ¨Ðà·èҡѺ copy à¹×éÍËÒã¹ direcotry ·Ñé§ËÁ´ä»à¡çºäÇéã¹ directory var ÃÇÁ·Ñé§ copy directory ÂèÍ temp local src áÅÐà¹×éÍËҢͧÁѹä»à¡çºäÇéã¹ directory /var à»ç¹µé¹ cp ÂèÍÁÒ¨Ò¡ copy

chown
¤ÓÊÑè§à»ÅÕè¹à¨éҢͧ file µÑÇÍÂèÒ§ àÁ×èÍàÃÒÍÍ¡¤ÓÊÑè§ ls -l /etc/host.conf
# -rwxr--r-- root.daemon host.conf ..
µÃ§·Õèà¢Õ¹ÇèÒ root.daemon à»ç¹¡Òú͡ãËéÃÙéÇèÒ file ÁÕà¨éҢͧ¤×Í root «Öè§ÍÂÙèã¹ group daemon
¶éÒàÃÒ¨Ðà»ÅÕè¹à¨éҢͧàÃÒ¡ç¾ÔÁ¾ì chown admin.adm /etc/host.conf ¡ç¨Ðà»ç¹¡ÒÃà»ÅÕè¹à¨éҢͧ file ¨Ò¡ root ¡ÅØèÁ daemon à»ç¹ admin ¨Ò¡¡ÅØèÁ adm
option ·ÕèÊӤѭ¢Í§ chmod ·ÕèãªéºèÍ¡ç¤×Í -R «Ö觨Ðà»ç¹¡ÒÃà»ÅÕè¹à¨éҢͧ file ·Ñé§ directory ÃÇÁ¶Ö§ subdirectory ¢Í§Áѹ àªè¹
#chown -R postfix.mail /etc/postfix

less
à»ç¹¤ÓÊÑè§ã¹¡ÒôÙà¹×éÍËÒã¹ file «Öè§ÊÒÁÒöãªé cursor àÅ×è͹¢Öé¹ Å§ à¾×èÍ´Ùà¹×éÍËÒã¹ file ä´é ¡ÒÃãªé ¾ÔÁ¾ì less µÒÁ´éÇ filename

more
à»ç¹¤ÓÊÑ觷Õèãªé áÊ´§à¹×éÍËÒã¹ file µèÒ§¡Ñº less µÃ§·ÕèàÅ×è͹ŧä´é àÅ×è͹¢Öé¹äÁèä´é ¡ÒÃãªé§Ò¹ ¾ÔÁ¾ì more áÅéǵÒÁ´éǪ×èÍ file áµèÊèǹãË­è·Õè¼ÁãªéÁÑ¡¨Ðãªé¤Ùè¡Ñº ¤ÓÊÑè§ ls ¤×Í àÇÅÒ file ã¹ directory ÁÕÁÒ¡¡ÇèÒ 1 ˹éÒàÃÒÊÒÁÒöãËéÁѹËÅØ´·ÕÅÐ˹éÒä´é
(àËÁ×͹ãªé¤ÓÊÑè§ dir /w ) â´Âãªé ¤ÓÊÑè§àªè¹
#ls /usr/bin | more

Re: ÁÒÃ٨ѡ Network ãËéÁÒ¡¢Ö鹡ÇèÒà´ÔÁ¾×é¹°Ò¹¸ÃÃÁ´Ò¨¹¢Ñé¹ÊÙ§áÅСÒÃá¡é»Ñ­ËÒ By: diablo01 Date: չҤ 20, 2008, 09:52:52 AM
¢Íº¤Ø³ÁÒ¡æàŤÃѺ ÊÓËÃÃѺ¤ÇÒÁÃÙé·Õè¹ÓÁÒÁͺãËéÍèФÃѺ
Re: ÁÒÃ٨ѡ Network ãËéÁÒ¡¢Ö鹡ÇèÒà´ÔÁ¾×é¹°Ò¹¸ÃÃÁ´Ò¨¹¢Ñé¹ÊÙ§áÅСÒÃá¡é»Ñ­ËÒ By: ood666 Date: ѹҤ 21, 2008, 09:38:59 PM
 yes yesj¢Íº¤Ø³¤ÃѺ smoke smoke
Re: ÁÒÃ٨ѡ Network ãËéÁÒ¡¢Ö鹡ÇèÒà´ÔÁ¾×é¹°Ò¹¸ÃÃÁ´Ò¨¹¢Ñé¹ÊÙ§áÅСÒÃá¡é»Ñ­ËÒ By: ton79 Date: ѹҤ 22, 2008, 12:20:48 AM
 yes
Re: ÁÒÃ٨ѡ Network ãËéÁÒ¡¢Ö鹡ÇèÒà´ÔÁ¾×é¹°Ò¹¸ÃÃÁ´Ò¨¹¢Ñé¹ÊÙ§áÅСÒÃá¡é»Ñ­ËÒ By: iqcang Date: Ҥ 18, 2009, 12:48:49 AM
¢Íº¤Ø³¤ÃѺ
Re: ÁÒÃ٨ѡ Network ãËéÁÒ¡¢Ö鹡ÇèÒà´ÔÁ¾×é¹°Ò¹¸ÃÃÁ´Ò¨¹¢Ñé¹ÊÙ§áÅСÒÃá¡é»Ñ­ËÒ By: Sirichut Date: Ҥ 05, 2010, 05:28:18 PM

 ÎÔææà¢éÒÁÒ´Ù¤ÃѺ
Re: ÁÒÃ٨ѡ Network ãËéÁÒ¡¢Ö鹡ÇèÒà´ÔÁ¾×é¹°Ò¹¸ÃÃÁ´Ò¨¹¢Ñé¹ÊÙ§áÅСÒÃá¡é»Ñ­ËÒ By: nakaujung Date: ѹ¹ 19, 2012, 12:56:09 PM
ÊÇÑÊ´Õ¨éÒ ÒÒ
Re: ÁÒÃ٨ѡ Network ãËéÁÒ¡¢Ö鹡ÇèÒà´ÔÁ¾×é¹°Ò¹¸ÃÃÁ´Ò¨¹¢Ñé¹ÊÙ§áÅСÒÃá¡é»Ñ­ËÒ By: aegzolo Date: ¹ 17, 2013, 03:07:12 PM
¢Íº¤Ø³·ÕèãËé¤ÇÒÁÃÙé¤ÃѺ

Network by siamcafe.net | Memory server MemoryToday.com |Tuned by  | Special thanks Tdelphi  

copyright©2001 siamcafe.net allrights reserve