|
33.
|
|
|
<command>rm</command> is used to delete files. <screen>rm foo</screen> deletes the file <filename>foo</filename> from the current directory.
|
|
|
|
(no translation yet)
|
|
|
|
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>
|
|
|
|
(no translation yet)
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:222(para)
|
|
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.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:232(para)
|
|
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").
|
|
|
|
(no translation yet)
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:246(para)
|
|
47.
|
|
|
The <command>lsb_release</command> command with the <emphasis role="strong">-a</emphasis> option prints version information for the Linux release you're running. For example, typing: <screen>lsb_release -a</screen> will give you: <screen>
No LSB modules are available.
Distributor ID: Xubuntu
Description: Xubuntu 9.04
Release: 9.04
Codename: jaunty</screen>
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:290(para)
|
|
70.
|
|
|
<command>man -k foo</command>, will search the man files for <emphasis>foo</emphasis>. Try <screen>man -k thunar</screen> to see how this works. <placeholder-1/>
|
|
|
|
(no translation yet)
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:434(para)
|
|
72.
|
|
|
<command>man -f foo</command>, searches only the titles of your system's man files. For example, try <screen>man -f thunar</screen><placeholder-1/>
|
|
|
|
(no translation yet)
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:449(para)
|
|
73.
|
|
|
Cutting and pasting
|
|
|
|
(no translation yet)
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:466(title)
|
|
74.
|
|
|
Often, you will be referred to instructions that require commands to be pasted into the terminal.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:467(para)
|
|
75.
|
|
|
You might be wondering why the text you've copied from a web page using <keycombo><keycap>Ctrl</keycap><keycap>C</keycap></keycombo> won't paste in with <keycombo><keycap>Ctrl</keycap><keycap>V</keycap></keycombo>, the shell uses a different combination for paste <keycombo><keycap>Shift</keycap><keycap>Insert</keycap></keycombo>. This can also be done using the mouse, by right-clicking in the terminal and clicking <menuchoice><guimenuitem>Paste</guimenuitem></menuchoice> from the menu.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:469(para)
|