Siamcafe.net ºÍÃì´ General Linux
Pages: 12
ÁÒàÃÕ¹ÃÙé linux ¡Ñ¹´Õ¡ÇèÒ¹èÐ By: joe0832 Date: áҤ 25, 2007, 06:11:00 AM
http://linux.sothorn.org/files/bookAdvanceLinux.pdf
ÊÓËÃѺ¼Ùé·Õèµéͧ¡ÒÃÈÖ¡ÉÒ  ªè¹ ´ÕÂǡѺ¼Á¤ÃѺ ¾Í´ÕÍÂÒ¡¨ÐÈÖ¡ÉÒäÇé¤ÃѺ  ÍÒÁÒ½Ò¡ ¾×è͹ æ ºéÒ§
Re: ÁÒàÃÕ¹ÃÙé linux ¡Ñ¹´Õ¡ÇèÒ¹èÐ By: jon4050 Date: áҤ 25, 2007, 09:33:42 AM
¢Íº¤Ø³¤ÃѺ  ¡ÓÅѧʹ㨾ʹÕ
ÁÕ·Õè load ºéÒ§¤ÃѺẺÁ×ÍãËÁèËÑ´¢ÑºÍФÃѺ
Re: ÁÒàÃÕ¹ÃÙé linux ¡Ñ¹´Õ¡ÇèÒ¹èÐ By: popopopo Date: áҤ 26, 2007, 12:25:58 AM
 :Smiley :Smiley :Smiley
Re: ÁÒàÃÕ¹ÃÙé linux ¡Ñ¹´Õ¡ÇèÒ¹èÐ By: ken57100 Date: áҤ 26, 2007, 08:52:16 AM
¢Íº¤Ø³ÁÒ¡æ
Re: ÁÒàÃÕ¹ÃÙé linux ¡Ñ¹´Õ¡ÇèÒ¹èÐ By: seree Date: áҤ 29, 2007, 10:53:00 PM
ҧҡ: jon4050 áҤ 25, 2007, 09:33:42 AM
¢Íº¤Ø³¤ÃѺ  ¡ÓÅѧʹ㨾ʹÕ
ÁÕ·Õè load ºéÒ§¤ÃѺẺÁ×ÍãËÁèËÑ´¢ÑºÍФÃѺ
   >>>ÅÔ駴ÒǹìâËÅ´Åչء«ì·Ð Å 8.0 http://www.opentle.org/th/downloadcat/view/58/63
Re: ÁÒàÃÕ¹ÃÙé linux ¡Ñ¹´Õ¡ÇèÒ¹èÐ By: the_one Date: ѹ¹ 01, 2007, 04:58:26 AM
¡çµéͧᷧÂÙ¨ÃÔ§æææ
Re: ÁÒàÃÕ¹ÃÙé linux ¡Ñ¹´Õ¡ÇèÒ¹èÐ By: tunder Date: ѹ¹ 01, 2007, 12:57:00 PM
àÂÕèÂÁàÅ¢ͺ¤Ø³¤ÃѺ
Re: ÁÒàÃÕ¹ÃÙé linux ¡Ñ¹´Õ¡ÇèÒ¹èÐ By: cartoonlove Date: Ȩԡ¹ 28, 2007, 04:13:37 AM
¢Íº¤Ø³¤ÃѺ áµè¼ÁÂѧ§§æ ¡Ñº command ¢Í§ Linux ÍÂÙèÍèФѺÍÂÒ¡à»ç¹àÃçÇæ·Óä§´Õ :'(
Re: ÁÒàÃÕ¹ÃÙé linux ¡Ñ¹´Õ¡ÇèÒ¹èÐ By: nestaa Date: Ȩԡ¹ 28, 2007, 04:25:59 AM
¼Á¡éÍÍÂÒ¡ÈÖ¡ÉÒÍÂÙèàËÁ×͹¡Ñ¹¤ÃѺ  ¢Íº¤Ø³ÁÒ¡
Re: ÁÒàÃÕ¹ÃÙé linux ¡Ñ¹´Õ¡ÇèÒ¹èÐ By: siamcafexp Date: Ȩԡ¹ 28, 2007, 04:31:41 AM
ҧҡ: nestaa Ȩԡ¹ 28, 2007, 04:25:59 AM
¼Á¡éÍÍÂÒ¡ÈÖ¡ÉÒÍÂÙèàËÁ×͹¡Ñ¹¤ÃѺ  ¢Íº¤Ø³ÁÒ¡


¤ÓÊÑè§

¤ÓÊÑè§ telnet
à»ç¹¤ÓÊÑ觷Õèà»ÅÕè¹ host ·ÕèãªéÍÂÙèä»Âѧ host Í×è¹ (ã¹ Windows 95 ¡çÁÕ)
ÃٻẺ $ telnet hostname
àªè¹ c:> telnet student.rit.ac.th à»ÅÕè¹ä»ãªé host ª×èÍ student.rit.ac.th
$ telnet 202.44.130.165 à»ÅÕè¹ä»ãªé host ·ÕèÁÕ IP = 202.44.130.165
$ telnet 0 telnet à¢éÒ host ·ÕèãªéÍÂÙè¹Ð¢³Ð¹Ñé¹
àÁ×èÍà¢éÒä»ä´éáÅéÇ¡ç¨ÐµéͧãÊè login áÅÐ password áÅÐà¢éÒÊÙèÃкºÂÙ¹Ô¡Êì¹Ñé¹àͧ

¤ÓÊÑè§ ftp
ftp à»ç¹¤ÓÊÑ觷Õèãªé¶èÒÂâ͹ä¿Åì¢éÍÁÙŨҡ·Õè˹Öè§ ä»ÂѧÍÕ¡·Õè˹Öè§ â´Â¡ÒõԴµè͡Ѻ host ·Õèà»ç¹ ftp ¹Ñ鹨еéͧÁÕ user name áÅÐÁÕ password ·ÕèÊÃéÒ§¢Öé¹äÇéáÅéÇ áµè¡çÁÕ ftp host ·Õèà»ç¹ public ÍÂÙèäÁè¹éÍÂàªè¹¡Ñ¹ ´Ñ§¹Ñ鹨ÐÁÕ user name ·Õèà»ç¹ publicàªè¹¡Ñ¹ ¤×Í user ·Õèª×èÍÇèÒ anonymous Êèǹ password ¢Í§ user anonymous ¹Õé¨Ðãªéà»ç¹ E-mail ¢Í§¼Ùé·Õè¨Ð connect à¢éÒä»áÅÐâ»Ãá¡ÃÁÊèǹãË­è¡ç¨ÐÍÂÙèã¹ directory ª×èÍ pub
ÃٻẺ $ ftp hostname
àªè¹ c:windows> ftp wihok.itgo.com
$ ftp ftp.nectec.or.th
¤ÓÊÑè§ ftp ¨ÐÁÕ¤ÓÊÑè§ÂèÍ·ÕèÊӤѭæ ä´éá¡è
ftp> help ãªéàÁ×è͵éͧ¡Òô٤ÓÊÑ觷ÕèÁÕÍÂÙèã㹤ÓÊÑè§ ftp
ftp> open hostname ãªéàÁ×è͵éͧ¡Òà connect ä»Âѧ host ·Õèµéͧ¡ÒÃ
ftp> close ãªéàÁ×è͵éͧ¡Òà disconnect ÍÍ¡¨Ò¡ host ·Õèãªé§Ò¹ÍÂÙè
ftp> bye ËÃ×Í quit ãªéàÁ×è͵éͧ¡ÒÃÍÍ¡¨Ò¡¤ÓÊÑè§ ftp
ftp> ls ËÃÕÍ dir ãªéáÊ´§ª×èÍä¿Åì·ÕèÁÕÍÂÙèã¹ current directory ¢Í§ host ¹Ñé¹
ftp> get ãªéâ͹ä¿Åì·ÕÅÐä¿Åì¨Ò¡ host »ÅÒ·ҧÁÒÂѧ localhost ËÃ×Íà¤Ã×èͧ¢Í§àÃÒ¹Ñé¹àͧ
ftp> mget ãªéâ͹ä¿Åì·ÕÅÐËÅÒÂæä¿Åì¨Ò¡ host »ÅÒ·ҧÁÒÂѧ localhost
ftp> put ãªéâ͹ä¿Åì·ÕÅÐä¿Åì¨Ò¡ localhost ä»à¡çºÂѧ host »ÅÒ·ҧ
ftp> mput ãªéâ͹ä¿Åì·ÕÅÐËÅÒÂæä¿Åì¨Ò¡ localhost ä»à¡çºÂѧ host »ÅÒ·ҧ
ftp> cd ãªéà»ÅÕè¹ directory
ftp> delete áÅÐ mdelete ãªéźä¿Åì

¤ÓÊÑè§ ls
ÁÕ¤èÒàËÁ×͹¡Ñº ¤ÓÊÑè§ dir ¢Í§ dos
ÃٻẺ $ ls [-option] [file]
option ·ÕèÊӤѭ

l áÊ´§áººä¿ÅìÅкÃ÷Ѵ áÊ´§ permission , à¨éҢͧä¿Åì , ª¹Ô´ , ¢¹Ò´ , àÇÅÒ·ÕèÊÃéÒ§
a áÊ´§ä¿Åì·Õè«è͹äÇé ( dir /ah)
p áÊ´§ä¿Åìâ´ÂÁÕ / µèÍ·éÒ directory
F áÊ´§ä¿Åìâ´ÂÁÕÊÑ­­Åѡɳ쪹Դ¢Í§ä¿ÅìµèÍ·éÒÂä¿Åì¤×Í
/ = directory
* = execute file
@ = link file
ld áÊ´§à©¾ÒÐ directory (dir /ad)
R áÊ´§ä¿Åì·ÕèÍÂÙèã¹ directory ´éÇ (dir /s)

àªè¹
$ ls
$ ls -la

¤ÓÊÑè§ more
áÊ´§¢éÍÁÙÅ·ÕÅÐ˹éÒ¨Í ÍÒ¨ãªéÃèÇÁ¡Ñºà¤Ã×èͧËÁÒ pipe line ( | ) ËÒ¡µéͧ¡ÒôÙ˹éҶѴ仡´ space ´ÙºÃ÷Ѵ¶Ñ´ä»¡´ Enter àªè¹
$ ls -la | more
$ more filename

¤ÓÊÑè§ cat
ÁÕ¤èÒàËÁ×͹¡Ñº ¤ÓÊÑè§ type ¢Í§ dos ãªé´Ù¢éÍÁÙÅã¹ä¿Åì àªè¹
$ cat filename

¤ÓÊÑè§ clear
ÁÕ¤èÒàËÁ×͹¡Ñº ¤ÓÊÑè§ cls ¢Í§ dos ãªéź˹éÒ¨Í terminal ãËéÇèÒ§
$ clear

¤ÓÊÑè§ date
ãªéáÊ´§ Çѹ·Õè áÅÐ àÇÅÒ
$ date 17 May 1999

¤ÓÊÑè§ cal
ãªéáÊ´§ »¯Ô·Ô¹¢Í§Ãкº
ÃٻẺ $ cal month year àªè¹
$ cal 07 1999

¤ÓÊÑè§ logname
¤ÓÊÑè§áÊ´§ª×èͼÙéãªé¢³Ðãªé§Ò¹
$ logname

¤ÓÊÑè§ id
ãªéáÊ´§ª×èÍáÅСÅØèÁÁ¢Í§¼Ùéãªé§Ò¹
$ id

¤ÓÊÑè§ tty
áÊ´§ËÁÒÂàÅ¢ terminal ·Õèãªé§Ò¹ÍÂÙè
$ tty

¤ÓÊÑè§ hostname
¤ÓÊÑè§áÊ´§ª×èÍà¤Ã×èͧ·ÕèãªéÍÂÙè
$ hostname

¤ÓÊÑè§ uname
¤ÓÊÑè§áÊ´§ ª×èÍáÅÐÃØ蹢ͧ OS ª×èÍáÅÐÃØ蹢ͧ cpu ª×èÍà¤Ã×èͧ
$ uname -a

¤ÓÊÑè§ history
¤ÓÊÑ觷Õèãªé´Ù¤ÓÊÑ觷Õèãªéä»áÅéÇ¡è͹˹éÒ¹Õé
$ history
àÇÅÒàÃÕ¡ãªéµéͧÁÕ ! áÅéǵÒÁ´éÇÂËÁÒÂàÅ¢¤ÓÊÑ觷Õèµéͧ¡ÒÃ

¤ÓÊÑè§ echo áÅÐ banner
$ echo "Hello" ãªéáÊ´§¢éͤÇÒÁ "Hello" ¢¹Ò´»¡µÔ
$ banner "Hello" ãªéáÊ´§¢éͤÇÒÁ "Hello" ¢¹Ò´ãË­è

¤ÓÊÑè§ who , w áÅÐ finger
ãªéáÊ´§ÇèÒã¤Ããªé§Ò¹ÍÂÙèºéÒ§¢³Ð¹Ñé¹
$ who
$ w
$ finger ´Ù¼Ùéãªé·Õè host à´ÕÂǡѹ
$ finger @daidy.bu..ac.th ´Ù¼Ùéãªéâ´ÂÃÐºØ Host ·Õè¨Ð´Ù
$ finger wihok ´Ù¼Ùéãªéâ´ÂÃкؤ¹·Õè¨Ð´Ùŧä»
$ who am i áÊ´§ª×èͼÙéãªé àÇÅÒ·Õèà¢éÒãªé§Ò¹ áÅÐ ËÁÒÂàÅ¢à¤Ã×èͧ
$ whoami àËÁ×͹¡Ñº¤ÓÊÑè§ logname

¤ÓÊÑè§ pwd
áÊ´§ directory ·ÕèàÃÒÍÂÙè»Ñ¨¨ØºÑ¹
$ pwd

¤ÓÊÑè§ mkdir
ãªéÊÃéÒ§ directory à·Õºà·èÒ MD ã¹ DOS
$ mkdir dir_name

¤ÓÊÑè§ cp
ãªé copy ä¿Åì˹Öè§ ä»Âѧ͡ä¿Åì˹Öè§
ÃٻẺ $ cp [-irfp] file_source file_target
option -i ËÒ¡ÁÕ¡Ò÷Ѻ¢éÍÁÙÅà´ÔÁ¨ÐÃͶÒÁ¡è͹·Õè¨Ð·Ñº
option -r copy ä¿Åì·Ñé§ËÁ´ÃÇÁ·Ñé§ directory ´éÇÂ
option -f äÁèáÊ´§¢éͤÇÒÁ¤ÇÒÁ¼Ô´¾ÅÒ´Í͡˹éÒ¨Í
option -p Â×¹ÂѹàÇÅÒáÅФÇÒÁà»ç¹à¨éҢͧà´ÔÁ
$ cp file_test /tmp/file_test

¤ÓÊÑè§ mv
ãªé move ËÃ×Íà»ÅÕ蹪×èÍä¿Åì
ÃٻẺ $ mv [-if] file_source file_target
¤ÇÒÁËÁÒ¢ͧ option àªè¹à´ÕÂǡѺ cp
$ mv index.html main.html à»ÅÕ蹪×èÍä¿Åì index.html à»ç¹ main.html

¤ÓÊÑè§ rm
ãªéźä¿ÅìËÃ×Í directory â´Â·ÕèÂѧÁÕ¢éÍÁÙÅÀÒÂã¹à·Õºà·èÒ del áÅÐ deltree ¢Í§ dos
ÃٻẺ $ rm [-irf] filename
$ rm -r dir_name ź dir_name â´Â·Õè dir_name à»ç¹ directory ÇèÒ§ËÃ×ÍäÁèÇèÒ§¡çä´é
$ rm -i * ź·Ø¡ä¿Åìâ´ÂÃͶÒÁµÍº

¤ÓÊÑè§ rmdir
ãªéź directory ·ÕèÇèÒ§ à·Õºà·èҡѺ rd ¢Í§ Dos
$ rmdir dir_name

¤ÓÊÑè§ alias
ãªéÂèͤÓÊÑè§ãËéÊÑé¹Å§
$ alias l = ls -l
$ alias c = clear

¤ÓÊÑè§ unalias
ãªé¡àÅÔ¡ alias àªè¹
$ unalias c

¤ÓÊÑè§ type
ãªéµÃǨÊͺÇèÒ¤ÓÊÑ觷Õèãªéà¡çºÍÂÙè·Õè㴢ͧÃкº
ÃٻẺ $ type command
$ type clear

¤ÓÊÑè§ find
ãªé¤é¹ËÒä¿Åì·Õèµéͧ¡Òà àªè¹
$ find /usr/bin -name "*sh" -print ËÒä¿Åì·Õèŧ·éÒ´éÇ sh ¨Ò¡ /usr/bin

¤ÓÊÑè§ grep
ãªé¤¹ËÒ¢éͤÇÒÁ·Õèµéͧ¡Òèҡä¿Åì
$ grep ¢éͤÇÒÁ file

¤ÓÊÑè§ man
man à»ç¹¤ÓÊÑ觷Õèà»ç¹¤ÙèÁ×Í¡ÒÃãªé¤ÓÊÑè§áµèÅФÓÊÑè§àªè¹
$ man ls
$ man cp

¤ÓÊÑè§ write
ãªéÊ觢éͤÇÒÁä»»ÃÒ¡®·Õè˹éҨͧ͢à¤Ã×èͧ·ÕèÃкØ㹤ÓÊÑè§äÁèÊÒÁÒöãªé¢éÒÁ host ä´é
àªè¹ $ write s0460003

¤ÓÊÑè§ mesg
$ mesg ´Ù status ¡ÒÃÃѺ¡ÒõԴµèͧ͢ terminal
$ mesg y à»Ô´ãËé terminal ÊÒÁÒöÃѺ¡ÒõԴµèÍä´é
$ mesg n »Ô´äÁèãËé terminal ÊÒÁÒöÃѺ¡ÒõԴµèÍä´é

¤ÓÊÑè§ talk
ãªéµÔ´µèÍÊ×èÍÊÒÃẺÊͧ·Ò§ àËÁ×͹¡Ñº¡ÒäØÂâ´Â¼ÙéÊè§ æ ä»áÅéÇÃÍ¡Òõͺ¡ÅѺ¨Ò¡ ¼ÙéÃѺ ÊÒÁÒöËÂØ´¡ÒõԴµèÍâ´Â Ctrl + c ÊÒÁÒöãªé¢éÒÁ host ä´é
ÃٻẺ $ talk [email protected]

¤ÓÊÑè§ pine
ãªéÍèÒ¹áÅÐÊ觨´ËÁÒ¢éҧ㹨ÐÁÕ menu ãËéãªé
¤ÓÊÑè§ tar

ãªéÊÓËÃѺ ÃÇÁä¿ÅìÂèÍÂãËéà»ç¹ä¿Åì Packet ¤ÅéÒÂæ¡Ñº¡Òà zip ËÅÒÂæä¿ÅìãËéà»ç¹ä¿Åìà´ÕÂÇáµè¢¹Ò´ä¿ÅìäÁèä´éŴŧÍÂèÒ§¡Òà zip â´Âä¿Åì output ·Õèä´é¨ÐµÑ駪×èÍà»ç¹ filename.tar ËÃ×Í¡ÒÃᵡä¿Åì packet ¨Ò¡ filename.tar ãËéà»ç¹ä¿ÅìÂèÍÂÁÑ¡¨Ðãªé¤Ùè¡Ñº gzip ËÃ×Í compress à¾×èÍ·Ó¡ÒÃÅ´¢¹Ò´ packet ãËéàÅç¡Å§

ÃٻẺ¡ÒÃãªé

$ tar -option output input
-option »ÃСͺ´éÇ -cvf , -tvf , -xvf áÊ´§´Ñ§´éÒ¹ÅèÒ§
output ¤×Í ä¿Åì.tar ËÃ×ÍÍÒ¨¨Ðà»ç¹ device àªè¹ tape ¡çä´é
input ¤×Í ä¿ÅìËÃ×Í¡ÅØèÁä¿ÅìËÃ×Í directory ËÃ×ÍÃÇÁ¡Ñ¹·Ñé§ËÁ´·Õè¡ÅèÒÇÁÒ
$ tar -cvf Output_file.tar /home/myhome/*
Option -cvf ãªéÊÓËÃѺ¡ÒÃÃÇÁä¿ÅìÂèÍÂä»ÊÙèä¿Åì .tar ¨Ò¡µÑÇÍÂèÒ§ ÃÇÁä¿Åì·Ø¡ä¿Åì·ÕèÍÂÙèã¹ /home/myhome/ à¢éÒÊÙèä¿Åìª×èÍ Output_file.tar
$ tar -tvf filename.tar
Option -tvf ãªéᵡä¿Åì .tar à»ç¹ä¿ÅìÂèÍÂæẺ preview ¤×ÍáÊ´§ãËé´ÙäÁèä´éᵡ¨ÃÔ§ÍÒ¨ãªé¤Ùè¡Ñº ¤ÓÊÑè§Í×è¹ à¾×èÍãËéä´é»ÃÐ⪹ìµÒÁµéͧ¡Òà àªè¹ tar -tvf filename.tar |more
$ tar -xvf filename.tar
Option -xvf ãªéᵡä¿Åì .tar à»ç¹ä¿ÅìÂèÍÂæ â´Â¨Ðᵡŧ ³ current directory

¤ÓÊÑè§ gzip

ãªé zip ËÃ×Í Unzip ä¿Åì packet â´ÂÁÒ¡áÅéǨÐà»ç¹ .tar àªè¹
$ gzip filename.tar ¼Å·Õèä´é¨Ðä´éä¿Åì«Öè§ÁÕ¡Òà zip áÅéǪ×èÍ filename.tar.gz
$ gzip -d filename.tar.gz ãªé unzip ä¿Åì¼Å·Õèä´é¨Ðà»ç¹ filename.tar

¤ÓÊÑè§ Compress áÅÐ Uncompress

ËÅѧ¨Ò¡¡Òà compress áÅéǨÐä´éà»ç¹ª×èÍä¿Åìà´ÔÁáµèµèÍ·éÒ´éÇ .Z ¡ÒÃãªé§Ò¹àËÁ×͹¡Ñº gzip áÅÐ gzip -d àªè¹
$ compress -v file.tar ¨Ðä´éä¿Åìª×èÍ file.tar.Z â´Â Option -v ¨Ðà»ç¹¡Òà verify ¡Òà compress
$ uncompress -v file.tar.Z

Re: ÁÒàÃÕ¹ÃÙé linux ¡Ñ¹´Õ¡ÇèÒ¹èÐ By: Goddragon99 Date: Ȩԡ¹ 28, 2007, 07:08:36 AM
á¨èÁàŤѺ
Re: ÁÒàÃÕ¹ÃÙé linux ¡Ñ¹´Õ¡ÇèÒ¹èÐ By: aertit001 Date: Ȩԡ¹ 28, 2007, 07:21:36 AM
ÊØ´ÂÍ´ä»àŤÃѺ :Smiley¢Íº¤Ø³ÁÒ¡¤ÃѺ¡ÓÅѧÈÖ¡ÉÒÍÂÙè¾Í´Õ ;)
Re: ÁÒàÃÕ¹ÃÙé linux ¡Ñ¹´Õ¡ÇèÒ¹èÐ By: thesunr19 Date: Ҥ 14, 2008, 08:33:11 PM
 :Smiley :Smiley :Smiley
Re: ÁÒàÃÕ¹ÃÙé linux ¡Ñ¹´Õ¡ÇèÒ¹èÐ By: xewet Date: Ҥ 15, 2008, 12:43:30 AM
¢Íº¤Ø³¤ÃѺ ·èҹ㴾ͨÐÁÕàÇÅÒÇèÒ§ÁÒÊ͹¼Á·Ó Server ä´é»Ð¤ÃѺ (à¹çµ+à¡ÁÊì) ......ÁÕ¤èҵͺ᷹ãËé¤ÃѺ....... ;)
Re: ÁÒàÃÕ¹ÃÙé linux ¡Ñ¹´Õ¡ÇèÒ¹èÐ By: jorjae Date: Ҥ 15, 2008, 10:49:00 AM
à¨ë§ÁÒ¡¤ÃѺ ¢Íº¤Ø³¤ÃѺ

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

copyright©2001 siamcafe.net allrights reserve