|
Lines 1-10
Link Here
|
| 1 |
<?xml version='1.0' encoding="UTF-8"?> |
1 |
<?xml version='1.0' encoding="UTF-8"?> |
| 2 |
<!-- $Header: /home/cvs/gentoo/ko/en/nano-basics-guide.xml,v 1.1.1.1 2005/03/14 02:54:19 jenix Exp $ --> |
2 |
<!-- $Header: /home/cvs/gentoo/ko/ko/nano-basics-guide.xml,v 1.3 2005/03/15 15:58:23 jenix Exp $ --> |
| 3 |
<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
3 |
<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
| 4 |
|
4 |
|
| 5 |
<guide link="/doc/en/nano-basics-guide.xml"> |
5 |
<guide link="/doc/ko/nano-basics-guide.xml"> |
| 6 |
|
6 |
|
| 7 |
<title>Nano Basics Guide</title> |
7 |
<title>Nano 기본 가이드</title> |
| 8 |
|
8 |
|
| 9 |
<author title="Gentoo Doc Editor"><!-- meekrob@gentoo.org --> |
9 |
<author title="Gentoo Doc Editor"><!-- meekrob@gentoo.org --> |
| 10 |
Sherman Boyd |
10 |
Sherman Boyd |
|
Lines 12-30
Link Here
|
| 12 |
<author title="Editor"> |
12 |
<author title="Editor"> |
| 13 |
<mail link="swift@gentoo.org">Sven Vermeulen</mail> |
13 |
<mail link="swift@gentoo.org">Sven Vermeulen</mail> |
| 14 |
</author> |
14 |
</author> |
|
|
15 |
<author title="번역"> |
| 16 |
<mail link="prdd79@gmail.com">김 동원</mail> |
| 17 |
</author> |
| 15 |
|
18 |
|
| 16 |
<abstract>This is a simple introduction to nano. To get you familiar with it's basic functions, fast.</abstract> |
19 |
<abstract>이 문서는 nano 에 대한 간단한 소개입니다. |
|
|
20 |
여러분은 기본적인 기능들로 빠르게 친숙해질 것입니다. |
| 21 |
</abstract> |
| 17 |
|
22 |
|
| 18 |
<version>1.2</version> |
23 |
<version>1.2</version> |
| 19 |
<date>August 05, 2004</date> |
24 |
<date>August 05, 2004</date> |
|
|
25 |
<!-- Original revision: 1.2 --> |
| 20 |
|
26 |
|
| 21 |
<chapter> |
27 |
<chapter> |
| 22 |
<title>Nano Basics</title> |
28 |
<title>Nano 기본</title> |
| 23 |
<section> |
29 |
<section> |
| 24 |
<title>Purpose</title> |
30 |
<title>목적</title> |
| 25 |
<body> |
31 |
<body> |
| 26 |
<p> |
32 |
<p> |
| 27 |
This guide was written to cover basic operations in nano, and is meant to be very concise. For more information about nano check out: |
33 |
이 문서는 nano 기본 작동 방법을 아주 간단하게 설명하고 있습니다. 보다 자세히 알고 싶으신 분은 다음 |
|
|
34 |
사이트를 확인하세요: |
| 28 |
</p><p> |
35 |
</p><p> |
| 29 |
<uri>http://www.nano-editor.org</uri> |
36 |
<uri>http://www.nano-editor.org</uri> |
| 30 |
</p> |
37 |
</p> |
|
Lines 32-117
Link Here
|
| 32 |
</section> |
39 |
</section> |
| 33 |
|
40 |
|
| 34 |
<section> |
41 |
<section> |
| 35 |
<title>Opening and creating files</title> |
42 |
<title>파일 열기, 만들기</title> |
| 36 |
<body> |
43 |
<body> |
| 37 |
<p> |
44 |
<p> |
| 38 |
Opening and creating files is simple in nano, simply type: |
45 |
nano 에서 파일을 열거나, 만들기는 매우 쉽습니다, 다음과 같이 입력하세요: |
| 39 |
</p> |
46 |
</p> |
| 40 |
|
47 |
|
| 41 |
<pre> |
48 |
<pre> |
| 42 |
# <i>nano filename</i> |
49 |
# <i>nano 파일명</i> |
| 43 |
</pre> |
50 |
</pre> |
| 44 |
|
51 |
|
| 45 |
<p> |
52 |
<p> |
| 46 |
Nano is a modeless editor so you can start typing immediately to insert text. If you are editing a configuration file like <path>/etc/fstab</path> use the -w switch, for example: |
53 |
nano 는 별도의 모드를 가지지 않는 편집기이므로 시작과 동시에 바로 문서를 작성할 수 있습니다. |
|
|
54 |
<path>/etc/fstab</path> 파일을 편집하려면 아래 예제처럼 -w 옵션을 사용합니다: |
| 47 |
</p> |
55 |
</p> |
| 48 |
|
56 |
|
| 49 |
<pre> |
57 |
<pre> |
| 50 |
# <i>nano -w /etc/fstab</i> |
58 |
# <i>nano -w /etc/fstab</i> |
| 51 |
</pre> |
59 |
</pre> |
| 52 |
|
60 |
|
| 53 |
<warn>It is very, very important that you use the -w switch when opening a config file. Failure to do so may keep your system from booting or other bad things.</warn> |
61 |
<warn> |
|
|
62 |
설정 파일을 열 때 -w 옵션을 사용하는 것은 정말 중요합니다. 그렇지 않으면 시스템 부팅에 실패하거나 |
| 63 |
또는 다른 좋지 않은 일들이 일어날 수 있습니다. |
| 64 |
</warn> |
| 54 |
|
65 |
|
| 55 |
</body> |
66 |
</body> |
| 56 |
</section> |
67 |
</section> |
| 57 |
|
68 |
|
| 58 |
<section> |
69 |
<section> |
| 59 |
<title>Saving and exiting</title> |
70 |
<title>저장과 끝내기</title> |
| 60 |
<body> |
71 |
<body> |
| 61 |
|
72 |
|
| 62 |
<p> |
73 |
<p> |
| 63 |
If you want to save the changes you've made, press <c>Ctrl+O</c>. To exit |
74 |
바뀐 내용을 저장하고 싶다면, <c>Ctrl+O</c> 키를 누르세요. <c>nano</c> 를 끝내고 싶다면, |
| 64 |
<c>nano</c>, type <c>Ctrl+X</c>. If you ask <c>nano</c> to exit a modified file, |
75 |
<c>Ctrl+X</c> 키를 누르세요. 바뀐 파일에서 <c>nano</c> 를 끝내려고 하면, 저장할지를 묻게 |
| 65 |
it will ask you if you want to save it. Just press <c>N</c> in case you don't, |
76 |
됩니다. 저장하지 않으려면 <c>N</c> 을, 저장하고 싶으면 <c>Y</c> 를 누르세요. 파일명을 물으면 |
| 66 |
or <c>Y</c> in case you do. It will then ask you for a filename. Just type it |
77 |
입력하고 <c>Enter</c> 를 누릅니다. |
| 67 |
in and press <c>Enter</c>. |
|
|
| 68 |
</p> |
78 |
</p> |
| 69 |
|
79 |
|
| 70 |
<p> |
80 |
<p> |
| 71 |
If you accidentally confirmed that you want to save the file, but you actually |
81 |
실수로 원하지 않는데 파일 저장하기를 선택한 경우에는 파일명을 물을 때 언제라도 <c>Ctrl+C</c> |
| 72 |
don't, you can always cancel by pressing <c>Ctrl+C</c> when you're prompted for |
82 |
키를 눌러서 취소할 수 있습니다. |
| 73 |
a filename. |
|
|
| 74 |
</p> |
83 |
</p> |
| 75 |
|
84 |
|
| 76 |
</body> |
85 |
</body> |
| 77 |
</section> |
86 |
</section> |
| 78 |
|
87 |
|
| 79 |
<section> |
88 |
<section> |
| 80 |
<title>Cutting and pasting</title> |
89 |
<title>자르기와 붙이기</title> |
| 81 |
<body> |
90 |
<body> |
| 82 |
<p> |
91 |
<p> |
| 83 |
To cut a single line line you use <c>^K</c>. You simply hold down <c>CTRL</c> and <c>k</c> at the same time. The line dissapears. To paste it you simply move the cursor to where you want to paste and punch <c>^U</c> (<c>CTRL u</c>) on your keyboard. BAM! The line reapears. Suppose you need to move a whole paragraph. To move multiple lines simply cut each line one at a time, and then paste. BAM! The whole paragraph appears wherever you want it. </p> |
92 |
한줄을 잘라내는 것은 <c>^K</c> 를 사용합니다. <c>CTRL</c> 와 <c>k</c> 를 동시에 누릅니다. |
|
|
93 |
줄이 사라졌습니다. 이것을 붙여넣으려면, 원하는 위치로 이동하여 <c>^U</c> (<c>CTRL u</c>) 를 |
| 94 |
누르세요. 짠! 다시 나타났습니다. 단락 전체를 옮기고자 한다고 가정합시다. 많은 줄을 옮기는 것은 |
| 95 |
한번에 여러 줄을 잘라낸 후에, 붙여넣으면 됩니다. 짠! 여러분이 원하는 위치에 단란 전체가 |
| 96 |
나타났습니다. |
| 97 |
</p> |
| 84 |
<p> |
98 |
<p> |
| 85 |
If you need a little more fine grained control then you need to mark the text. Move the cursor to the beginning of the text you want to cut. Hit <c>^^</c> (that's <c>ctrl ^</c> or <c>ctrl 6</c>). Now move your cursor to the end of the text you want to cut. The desired text should be highlighted now. If need to cancel your text marking simply hit <c>^^</c> again. Click <c>^K</c> to cut the text. Use <c>^U</c> to paste it. BAM! Now that's cooking. |
99 |
좀 더 세밀하게 사용하고 싶다면, 마크를 사용해야 합니다. 잘라내고자 하는 텍스트의 앞부분으로 커서를 |
|
|
100 |
옮기세요. <c>^^</c> (<c>ctrl ^</c> 또는 <c>ctrl 6</c>) 을 누르세요. 그리고 잘라낼 텍스트 |
| 101 |
끝으로 커서를 옮기세요. 이제 선택한 부분이 하일라이트로 표시됩니다. 선택을 취소하기 위해서는 다시 |
| 102 |
<c>^^</c> 를 누릅니다. 선택한 부분을 잘라내려면 <c>^K</c>를 누르세요. 붙여넣기를 하려면 |
| 103 |
<c>^U</c> 를 누르세요. 짠! 이제 됐습니다. |
| 86 |
</p> |
104 |
</p> |
| 87 |
</body> |
105 |
</body> |
| 88 |
</section> |
106 |
</section> |
| 89 |
|
107 |
|
| 90 |
<section> |
108 |
<section> |
| 91 |
<title>Searching for text</title> |
109 |
<title>문자열 찾기</title> |
| 92 |
<body> |
110 |
<body> |
| 93 |
<p> |
111 |
<p> |
| 94 |
Searching for a string is easy as long as you think <e>"WhereIs"</e> instead of <e>"Search"</e>. Simple hit <c>^W</c> (<c>CTRL w</c>) and type in your search string. Like I said, easy.</p> |
112 |
문자열을 찾는 것은 <e>"찾기(Search)"</e> 대신 <e>"어디(WhereIs)"</e> 라고 생각하면 |
|
|
113 |
쉽습니다. <c>^W</c> (<c>Ctrl w</c>) 를 누르고, 찾고자 하는 문자열을 입력하면 됩니다. |
| 114 |
간단합니다. |
| 95 |
</body> |
115 |
</body> |
| 96 |
</section> |
116 |
</section> |
| 97 |
|
117 |
|
| 98 |
<section> |
118 |
<section> |
| 99 |
<title>More options</title> |
119 |
<title>더 많은 옵션</title> |
| 100 |
<body> |
120 |
<body> |
| 101 |
|
121 |
|
| 102 |
<p> |
122 |
<p> |
| 103 |
If you're interested in tweaking nano, be sure to read |
123 |
세밀한 nano 설정에 관심이 있다면, <path>/etc/nanorc</path> 를 읽어보세요. |
| 104 |
<path>/etc/nanorc</path>. |
|
|
| 105 |
</p> |
124 |
</p> |
| 106 |
|
125 |
|
| 107 |
</body> |
126 |
</body> |
| 108 |
</section> |
127 |
</section> |
| 109 |
|
128 |
|
| 110 |
<section> |
129 |
<section> |
| 111 |
<title>Wrap up</title> |
130 |
<title>끝내며</title> |
| 112 |
<body> |
131 |
<body> |
| 113 |
<p> |
132 |
<p> |
| 114 |
That is all! Thanks to kiyose and quazion from #gentoo. Again, for more information about nano check out: |
133 |
이것이 전부입니다! #gentoo 채널 kiyose 와 quazion 에게 감사합니다. 다시 이야기 하지만, |
|
|
134 |
nano 를 좀 더 자세히 알고 싶다면 다음 사이트를 이용하세요: |
| 115 |
</p><p> |
135 |
</p><p> |
| 116 |
<uri>http://www.nano-editor.org</uri> |
136 |
<uri>http://www.nano-editor.org</uri> |
| 117 |
</p> |
137 |
</p> |