|
30.
|
|
|
mv
|
|
|
|
mv
|
|
Translated and reviewed by
Namhyung Kim
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:202(title)
|
|
31.
|
|
|
The <command>mv</command> command moves a file to a different location or will rename a file. Examples are as follows: <screen>mv foo bar</screen> will rename the file <filename>foo</filename> to <filename>bar</filename>. <screen>mv foo ~/Desktop</screen> will move the file <filename>foo</filename> to your <filename class="directory">Desktop</filename> directory but will not rename it.
|
|
|
|
<command>mv</command> 명령은 파일을 다른 위치로 이동시키거나 다른 이름으로 바꿉니다. 다음과 같은 예제들이 있습니다:<screen>mv foo bar</screen> 는 <filename>foo</filename> 파일을 <filename>bar</filename> 라는 이름으로 바꿉니다. <screen>mv foo ~/Desktop</screen> 는 <filename>foo</filename> 파일을 여러분의 <filename class="directory">Desktop</filename> 디렉터리로 이름을 바꾸지 않고 이동시킵니다.
|
|
Translated and reviewed by
Seongho Choo
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:203(para)
|
|
32.
|
|
|
rm
|
|
|
|
rm
|
|
Translated and reviewed by
Namhyung Kim
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:216(title)
|
|
33.
|
|
|
<command>rm</command> is used to delete files. <screen>rm foo</screen> deletes the file <filename>foo</filename> from the current directory.
|
|
|
|
<command>rm</command> 은 파일들을 삭제하는데 사용됩니다. <screen>rm foo</screen> 는 현재 디렉터리의 <filename>foo</filename> 파일을 삭제합니다.
|
|
Translated and reviewed by
Seongho Choo
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:217(para)
|
|
34.
|
|
|
By default, <command>rm</command> will not remove directories. To remove a directory, you must use the <command>-R</command> option. For example, <screen>rm -R foobar</screen> will remove the directory foobar, <emphasis role="strong">and all of its contents!</emphasis>
|
|
|
|
기본적으로, <command>rm</command>은 디렉터리를 지우지 않습니다. 디렉터리를 지우려면 여러분은 <command>-R</command> 옵션을 사용해야만 합니다. 예를 들어, <screen>rm -R foobar</screen>는 foobar 디렉터리<emphasis role="strong">와 그 안의 내용을 모두</emphasis> 지웁니다.
|
|
Translated and reviewed by
Seongho Choo
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:222(para)
|
|
35.
|
|
|
mkdir
|
|
|
|
mkdir
|
|
Translated and reviewed by
Namhyung Kim
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:231(title)
|
|
36.
|
|
|
The <command>mkdir</command> command allows you to create directories. For example, typing: <screen>mkdir music</screen> will create a directory named <filename class="directory">music</filename> in the current directory.
|
|
|
|
<command>mkdir</command> 명령은 여러분이 디렉터리를 만들 수 있게 합니다. 예를 들어, <screen>mkdir music</screen> 를 입력하면 현재 디렉터리에서 <filename class="directory">music</filename>라는 이름의 디렉터리를 생성하게 됩니다.
|
|
Translated and reviewed by
Seongho Choo
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:232(para)
|
|
37.
|
|
|
System Information Commands
|
|
|
|
시스템 정보 명령
|
|
Translated by
Seongho Choo
|
|
Reviewed by
Seongho Choo
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:242(title)
|
|
38.
|
|
|
df
|
|
|
|
df
|
|
Translated and reviewed by
Namhyung Kim
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:245(title)
|
|
39.
|
|
|
The <command>df</command> command displays filesystem disk space usage for all partitions. <screen>df -h</screen> will give information using megabytes (M) and gigabytes (G) instead of blocks (<emphasis role="strong">-h</emphasis> means "human-readable").
|
|
|
|
<command>df</command> 명령은 모든 파티션의 디스크 사용량을 보여줍니다. <screen>df -h</screen> 명령을 이용하면 블럭 크기 대신 메가 바이트(M)와 기가 바이트(G) 단위를 통해 정보를 표시합니다 (<emphasis role="strong">-h</emphasis> 옵션은 사람이 읽기 편한("human-readable") 형태로 표시하라는 뜻입니다).
|
|
Translated and reviewed by
Seongho Choo
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:246(para)
|