½© ÇÁ·ÒÇÁÆ®¿¡ ÀÔ·ÂÇϽŠ¸¹Àº Linux ¸í·É¾îµéÀº MS-DOS¿¡¼ »ç¿ëµÇ´Â ¸í·É¾îµé°ú À¯»çÇÕ´Ï´Ù. ½ÇÁ¦·Î, ÀϺΠ¸í·É¾îµéÀº µ¿ÀÏÇÕ´Ï´Ù.
ÀÌ ºÎ·Ï¿¡¼´Â WindowsÀÇ MS-DOS ÇÁ·ÒÇÁÆ®¿¡¼ »ç¿ëµÇ´Â ÀÏ¹Ý ¸í·É¾îµé°ú ±×°Íµé¿¡ »óÀÀÇÏ´Â Linux ¸í·É¾îµéÀ» ÇÔ²² Á¦°øÇÕ´Ï´Ù. ¶ÇÇÑ Linux ½© ÇÁ·ÒÇÁÆ®¿¡¼ ¸í·É¾î°¡ »ç¿ëµÇ´Â ±âº» ¿¹Á¦µµ Á¦°øÇÕ´Ï´Ù. ÀÌ ¸í·É¾îµéÀº ÀϹÝÀûÀ¸·Î ¿©·¯°¡Áö ¿É¼Ç°ú ÇÔ²² »ç¿ëµÈ´Ù´Â Á¡À» ±â¾ïÇØ ÁֽʽÿÀ. °¢ ¸í·É¾î¿¡ ´ëÇÑ º¸´Ù ¸¹Àº Á¤º¸¸¦ ¿øÇϽŴٸé, °ü·Ã ¸Þ´º¾ó ÆäÀÌÁö¸¦ Àо½Ã±â ¹Ù¶ø´Ï´Ù (¿¹, ls ¸í·É¾î¿¡ ´ëÇÑ Á¤º¸¸¦ ¿øÇÏ½Å´Ù¸é ½© ÇÁ·ÒÇÁÆ®¿¡¼ man ls¸¦ ÀÔ·ÂÇÏ½Ã¸é µË´Ï´Ù).
¸í·É¾î »ç¿ë ¸ñÀû | MS-DOS | Linux | Linux ±âº» ¿¹½Ã |
---|---|---|---|
ÆÄÀÏ º¹»ç | copy | cp | cp thisfile.txt /home/thisdirectory |
ÆÄÀÏ À̵¿ | move | mv | mv thisfile.txt /home/thisdirectory |
ÆÄÀÏ ¸ñ·Ï º¸±â | dir | ls | ls |
½ºÅ©¸° ±ú²ýÀÌ Áö¿ì±â | cls | clear | clear |
½© ÇÁ·ÒÇÁÆ® Á¾·á | exit | exit | exit |
³¯Â¥ º¸±â ¶Ç´Â ¼³Á¤Çϱâ | date | date | date |
ÆÄÀÏ »èÁ¦ | del | rm | rm thisfile.txt |
Ãâ·ÂÀ» ȸ鿡 "¹ÝÇâÇϱâ (Echoes)" | echo | echo | echo this message |
´Ü¼ø ÅؽºÆ® ÆíÁý±â¸¦ °¡Áö°í ÆÄÀÏ ÆíÁýÇϱâ | edit | gedit([a]) | gedit thisfile.txt |
ÆÄÀÏ ³»¿ë ºñ±³ | fc | diff | diff file1 file2 |
ÆÄÀÏ ³»ÀÇ ÅؽºÆ® ¹®ÀÚ¿ ã±â | find | grep | grep this word or phrase thisfile.txt |
µð½ºÄÏ Æ÷¸ËÇϱâ | format a: (¸¸ÀÏ µð½ºÄÏÀÌ A:¾È¿¡ ÀÖ´Â °æ¿ì) | mke2fs ¶Ç´Â mformat([b]) | /sbin/mke2fs /dev/fd0 (/dev/fd0´Â Linux ¿¡¼ A:¿Í °°½À´Ï´Ù) |
¸í·É¾î µµ¿ò¸» º¸±â | command /? | man([c]) | man command |
µð·ºÅ丮 ¸¸µé±â | mkdir | mkdir | mkdir directory |
ÆÄÀÏ º¸±â | more | less([d]) | less thisfile.txt |
ÆÄÀÏ À̸§ ¹Ù²Ù±â | ren | mv([e]) | mv thisfile.txt thatfile.txt |
ÆÄÀÏ ½Ã½ºÅÛ¿¡¼ ÇöÀç À§Ä¡ º¸±â | chdir | pwd | pwd |
ƯÁ¤ °æ·Î·Î µð·ºÅ丮 ¹Ù²Ù±â (Àý´ë °æ·Î(absolute path)) | cd pathname | cd pathname | cd /directory/directory |
»ó´ë °æ·Î(relative path)·Î µð·ºÅ丮 ¹Ù²Ù±â | cd .. | cd .. | cd .. |
½Ã°£ º¸±â | time | date | date |
RAM »ç¿ë·® º¸±â | mem | free | free |
Âü°í: a. GeditÀº ±×·¡ÇÈ ÅؽºÆ® ÆíÁý±â ÀÔ´Ï´Ù; Gedit ´ë½Å Emacs ¿Í vi °°Àº ´Ù¸¥ ÆíÁý±â¸¦ »ç¿ëÇÏ½Ç ¼öµµ ÀÖ½À´Ï´Ù. b. ÀÌ ¸í·ÉÀº µð½ºÄÏÀ» DOS ÆÄÀÏ ½Ã½ºÅÛÀ¸·Î Æ÷¸ËÇÕ´Ï´Ù. c. ÀϺΠ¸í·É¾îÀÇ °æ¿ì info ¸í·É¾î¸¦ »ç¿ëÇÏ½Ç ¼öµµ ÀÖ½À´Ï´Ù. d. more ÆäÀÌÁö º¸±â ÇÁ·Î±×·¥À» »ç¿ëÇÏ¿© ÆÄÀÏÀ» Çѹø¿¡ ÇÑ È¸é¾¿ º¼ ¼ö ÀÖ½À´Ï´Ù. e. mv ¸í·ÉÀº ÆÄÀÏÀ» À̵¿½ÃÅ°¸ç, ¸¸ÀÏ °°ÀÌ µð·ºÅ丮¿¡¼ ÆÄÀÏÀÇ À̸§À» ¹Ù²Ù½Ã·Á¸é, ÀÌ ¿¹Á¦¿¡ ³ª¿Â °Íó·³ ±× ÆÄÀÏÀ» °°Àº µð·ºÅ丮¿¡¼ »õ·Î¿î À̸§À¸·Î "À̵¿"½ÃÅ°¸é µË´Ï´Ù. |
Ç¥ C-1. ºñ½ÁÇÑ ¸í·É¾îµé