|
23.
|
|
|
The <acronym>pwd</acronym> command will allow you to know in which directory you're located (<acronym>pwd</acronym> stands for "print working directory"). For example, typing <screen>pwd</screen> in the <filename class="directory">Desktop</filename> directory, will show <computeroutput>~/Desktop</computeroutput>. <placeholder-1/>
|
|
|
|
(no translation yet)
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:154(para)
|
|
25.
|
|
|
The <command>ls</command> command will allow you to see the files in the directory you are in (<acronym>ls</acronym> stands simply for "list"). Used with certain options, you can see sizes of files, when files where made, and permissions of files. For example, typing <screen>ls ~</screen> will show you the files that are in your home directory. Examples:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:174(para)
|
|
31.
|
|
|
The <command>cp</command> command will make a copy of a file for you (<acronym>cp</acronym> stands simply for "copy"). For example, type: <screen>cp file foo</screen> to make a exact copy of <filename>file</filename> and name it <filename>foo</filename>, but the file <filename>file</filename> will still be there.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:214(para)
|
|
33.
|
|
|
<command>mv</command>: The <command>mv</command> command will move a file to a different location or will rename a file (<acronym>mv</acronym> stands simply for "move"). Examples:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:227(para)
|
|
35.
|
|
|
To move the file <filename>foo</filename> to your <filename class="directory">Desktop</filename>, type: <screen>mv foo ~/Desktop</screen>. This will move foo but will not rename it. You must specify a new file name to rename a file.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:242(para)
|
|
38.
|
|
|
The <command>rm</command> will remove or delete a file in your directory (<acronym>rm</acronym> stands simply for "remove"). It will not work on directories which have files in them. To remove directories, you can use <command>rm -r</command>. The <emphasis>r</emphasis> stands for <emphasis>recursive</emphasis>. For example: <screen>rm -r foo</screen> will remove the directory named foo and all of its contents.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:263(para)
|
|
52.
|
|
|
The <emphasis role="strong">lsb_release</emphasis> 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: Ubuntu
Description: Ubuntu 7.10
Release: 7.10
Codename: gutsy</screen>
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:341(para)
|
|
80.
|
|
|
<command>man -f totem</command>, searches only the titles of your system's man files. For example, try <screen>man -f gnome</screen><placeholder-1/>
|
|
|
|
(no translation yet)
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:514(para)
|
|
82.
|
|
|
Pasting in commands
|
|
|
|
(no translation yet)
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:534(title)
|
|
83.
|
|
|
Often, you will be referred to instructions that require commands to be pasted into the terminal. 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>. Surely you don't have to type in all those nasty commands and filenames? Relax. Middle Button Click on your mouse (both buttons simultaneously on a two-button mouse) or Right Click and select <menuchoice><guimenuitem>Paste</guimenuitem></menuchoice> from the menu. You can also insert text by hitting <keycombo><keycap>Ctrl</keycap><keycap>Insert</keycap></keycombo>
|
|
|
|
(no translation yet)
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:535(para)
|